#W# Source and Scripts added. Added Scripts/Settings.cs to expose some basic tweak able settings.

This commit is contained in:
WarrentyExpired 2026-08-06 11:06:05 -04:00
parent b51c58f514
commit 3045c83799
3512 changed files with 627673 additions and 0 deletions

View file

@ -0,0 +1,53 @@
using System;
using System.Collections.Generic;
using Server.Items;
namespace Server.Mobiles
{
public class SBSECook: SBInfo
{
private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo();
private IShopSellInfo m_SellInfo = new InternalSellInfo();
public SBSECook()
{
}
public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
public class InternalBuyInfo : List<GenericBuyInfo>
{
public InternalBuyInfo()
{
Add( new GenericBuyInfo( typeof( Wasabi ), 2, 20, 0x24E8, 0 ) );
Add( new GenericBuyInfo( typeof( Wasabi ), 2, 20, 0x24E9, 0 ) );
Add( new GenericBuyInfo( typeof( SushiRolls ), 3, 20, 0x283E, 0 ) );
Add( new GenericBuyInfo( typeof( SushiPlatter ), 3, 20, 0x2840, 0 ) );
Add( new GenericBuyInfo( typeof( GreenTea ), 3, 20, 0x284C, 0 ) );
Add( new GenericBuyInfo( typeof( MisoSoup ), 3, 20, 0x284D, 0 ) );
Add( new GenericBuyInfo( typeof( WhiteMisoSoup ), 3, 20, 0x284E, 0 ) );
Add( new GenericBuyInfo( typeof( RedMisoSoup ), 3, 20, 0x284F, 0 ) );
Add( new GenericBuyInfo( typeof( AwaseMisoSoup ), 3, 20, 0x2850, 0 ) );
Add( new GenericBuyInfo( typeof( BentoBox ), 6, 20, 0x2836, 0 ) );
Add( new GenericBuyInfo( typeof( BentoBox ), 6, 20, 0x2837, 0 ) );
}
}
public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Wasabi ), 1 );
Add( typeof( BentoBox ), 3 );
Add( typeof( GreenTea ), 1 );
Add( typeof( SushiRolls ), 1 );
Add( typeof( SushiPlatter ), 2 );
Add( typeof( MisoSoup ), 1 );
Add( typeof( RedMisoSoup ), 1 );
Add( typeof( WhiteMisoSoup ), 1 );
Add( typeof( AwaseMisoSoup ), 1 );
}
}
}
}