mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Simple decorations: Add 'param2_max' parameter for random param2
If 'param2_max' is not used, parameter 'param2' works as before for compatibility. If 'param2_max' is used, 'param2' and 'param2_max' become the lower and upper bounds of a per-decoration random param2.
This commit is contained in:
parent
17016090e3
commit
0c9ca27ffc
4 changed files with 17 additions and 3 deletions
|
@ -84,6 +84,7 @@ public:
|
|||
s16 deco_height;
|
||||
s16 deco_height_max;
|
||||
u8 deco_param2;
|
||||
u8 deco_param2_max;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue