Page 20 of 32
Re: EDITOR Feature Requests (not bugs!)
Posted: Thu Nov 22, 2012 7:51 pm
by Xanathar
For me it would be:
- getMaxLevel(...) - gets the maximum level of the dungeon (this allows to do things like creating a timer in each level, checking for entities everywhere, etc)
- defineScriptEntity(..) - this would allow us to define a scripting entity outside the dungeon (in some lua file included in init.lua)
- getHealth on monsters and getScrollImage on items - ok, I'm cheating because with these we are at 4

Re: EDITOR Feature Requests (not bugs!)
Posted: Thu Nov 22, 2012 7:58 pm
by petri
Beer: check
IDE running: check
Fingers warmed: check
Music playing: check
Re: EDITOR Feature Requests (not bugs!)
Posted: Thu Nov 22, 2012 8:02 pm
by petri
Let's see.. anchorPos you say...
Re: EDITOR Feature Requests (not bugs!)
Posted: Thu Nov 22, 2012 8:10 pm
by petri
DONE:
- added anchorPos, anchorRotation, targetPos and targetSize for altars
I believe altars already support onInsertItem?
Re: EDITOR Feature Requests (not bugs!)
Posted: Thu Nov 22, 2012 8:22 pm
by Batty
- getHealth() for monsters
- scrambleText for items to work, maybe it's me but I can't get it to work according to the reference.
- champion:getFood() -> returns the food level of the champ
While you're at it, can you add a water system to the UI also

(after you finish the beer)
Re: EDITOR Feature Requests (not bugs!)
Posted: Thu Nov 22, 2012 8:29 pm
by petri
- added getMaxLevels()
took the liberty and added isWall(level, x, y) as well

Re: EDITOR Feature Requests (not bugs!)
Posted: Thu Nov 22, 2012 8:40 pm
by petri
DONE:
- added Item:getScrollImage()
- added Monster:getHealth() and Monster:getLevel()
- added Champion:getFood()
Re: EDITOR Feature Requests (not bugs!)
Posted: Thu Nov 22, 2012 8:49 pm
by Brodie301
Excitedly types : Does that mean we getting a patch?
Re: EDITOR Feature Requests (not bugs!)
Posted: Thu Nov 22, 2012 8:51 pm
by petri
Brodie301 wrote:Excitedly types : Does that mean we getting a patch?
Not today
- added new entity property: class
e.g.
Code: Select all
local e = spawn("dagger")
print(e.class) --> "Item"
local e = spawn("dungeon_alcove")
print(e.class) --> "Alcove"
Re: EDITOR Feature Requests (not bugs!)
Posted: Thu Nov 22, 2012 8:52 pm
by petri
Anything else folks? ... fetching another beer ...