forked from Mirrors/openclonk
23 lines
529 B
C
23 lines
529 B
C
/*-- Yet Another Additional Deciduous Tree --*/
|
|
|
|
#include Library_Plant
|
|
#include Library_Tree
|
|
|
|
local plant_seed_chance = 20;
|
|
local plant_seed_area = 400;
|
|
local plant_seed_amount = 10;
|
|
local plant_seed_offset = 50;
|
|
|
|
local lib_tree_burned = Deco_Tree_Deciduous4_Burned;
|
|
|
|
public func GetTreetopPosition(pos)
|
|
{
|
|
return Shape->Rectangle(-30,-30, 60,80)->GetRandomPoint(pos);
|
|
}
|
|
|
|
local Name = "$Name$";
|
|
local Touchable = 0;
|
|
local BlastIncinerate = 2;
|
|
local ContactIncinerate = 6;
|
|
local NoBurnDecay = true;
|
|
local Components = {Wood = 4}; |