Page 1 of 1

new wood

Posted: Sun Apr 02, 2006 10:48 am
by qrak
i defined new wood types from malas map in wood.cfg: 0x2476 0x2477 0x26ED (cherry trees, plum tree), modified lumberjack.src, added logs to itemdesc. When i use hatchet on new tree i'm getting message "you can't use that" from can_access function. What i did wrong?

Posted: Sun Apr 02, 2006 9:11 pm
by Yukiko
Just off the top of my head without looking at the script, did you remember to add the static tile types to the can_use script so it understands that the new trees are "choppable"?

Posted: Mon Apr 03, 2006 4:54 am
by qrak
omg :shock: i completelly forgot, thx :D