mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
Adding Money to Crates
You can now set a variable called "DMS_CrateMoney" on a reward container to set/increase how much money it provides (once the container is actually "filled").
This commit is contained in:
parent
6f80d87662
commit
4255de3836
@ -317,3 +317,10 @@ if (_crate getVariable ["DMS_AllowSmoke", true]) then
|
||||
_marker attachTo [_crate, [0,0,0.5]];
|
||||
};
|
||||
};
|
||||
|
||||
_crate setVariable
|
||||
[
|
||||
"ExileMoney",
|
||||
(_crate getVariable ["ExileMoney", 0]) + (_crate getVariable ["DMS_CrateMoney", 0]),
|
||||
true
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user