rott/kf_sources/KFGui/Classes/GUIBuyable.uc
2026-07-14 20:27:09 +07:00

66 lines
2.3 KiB
Ucode

//=============================================================================
// GUIBuyable
// Stores all the information of a certain item in the trader menu
//=============================================================================
// Killing Floor Source
// Copyright (C) 2009 Tripwire Interactive LLC
// Christian "schneidzekk" Schneider
//=============================================================================
class GUIBuyable extends Object;
var localized string ItemName; //Sale name of object
var localized string ItemDescription; //Short item Description
var localized string ItemCategorie;
var texture ItemImage; //Image to show in Info
var class<KFWeapon> ItemWeaponClass; //Weapon class used for buying/selling
var class<Ammunition> ItemAmmoClass; //Ammo class used for buying/selling
var class<KFWeaponPickup> ItemPickupClass; //Pickup class
var float ItemCost; //Cost to buy
var float ItemAmmoCost; //Single clip cost
var float ItemFillAmmoCost; //Fill up cost
var float ItemWeight; //Heaviness
var float ItemPower; //Progressbar power
var float ItemRange; //Progressbar range
var float ItemSpeed; //Progressbar speed
var float ItemAmmoCurrent; //Current ammo count
var float ItemAmmoMax; //Max ammo
var bool bSaleList; //Inventory or sale?
var bool bSellable; //Can't sell Default weapons
var bool bMelee; //Melee weapons
var bool bIsVest; //Vest?
var bool bIsFirstAidKit; //First Aid?
var byte ItemPerkIndex; //Corresponding perk
var int ItemSellValue; //Value at which this item can be sold
defaultproperties
{
ItemName="Buyable Item Name"
ItemDescription"Buyable Item Description"
ItemImage=texture'KillingFloorHUD.Trader_Weapon_Images.Trader_9mm'
ItemWeaponClass=class'Single'
ItemAmmoClass=class'SingleAmmo'
ItemCost="123456789"
ItemAmmoCost="123456789"
ItemFillAmmoCost="123456789"
ItemWeight="123456789"
ItemPower="12345679"
ItemRange="12345679"
ItemSpeed="12345679"
ItemAmmoCurrent="123456789"
ItemAmmoMax="123456789"
bSellable=false
bMelee=false
bIsVest=false
bIsFirstAidKit=false
bSaleList=false
}