mirror of
https://github.com/mapbase-source/source-fgds.git
synced 2025-03-10 20:40:20 +03:00
Add item_battery_custom
This commit is contained in:
parent
3eff9b63da
commit
3ff34751a8
@ -4258,6 +4258,16 @@
|
|||||||
input SetHealthAmount(float) : "Sets the amount of health this item gives."
|
input SetHealthAmount(float) : "Sets the amount of health this item gives."
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@PointClass base(Item, Studiomodel) studioprop() = item_battery_custom : "Custom Battery"
|
||||||
|
[
|
||||||
|
model(studio) : "Model" : "models/items/battery.mdl" : "The battery's model."
|
||||||
|
PowerAmount(float) : "Power Amount" : "15" : "The amount of power this item gives."
|
||||||
|
//TouchSound(sound) : "Touch Sound" : "ItemBattery.Touch" : "The sound to make when this item is picked up and used."
|
||||||
|
|
||||||
|
// Inputs
|
||||||
|
input SetPowerAmount(float) : "Sets the amount of power this item gives."
|
||||||
|
]
|
||||||
|
|
||||||
@PointClass base(Targetname, Parentname, Angles, RenderFields, BaseFadeProp) studio("models/items/ammocrate_empty.mdl") = item_ammo_crate : "Ammo Crate"
|
@PointClass base(Targetname, Parentname, Angles, RenderFields, BaseFadeProp) studio("models/items/ammocrate_empty.mdl") = item_ammo_crate : "Ammo Crate"
|
||||||
[
|
[
|
||||||
AmmoType(choices) : "Ammo Type" : 0 =
|
AmmoType(choices) : "Ammo Type" : 0 =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user