how do you type commands without repeting it like i finley have spwand a goblin thanks to teravisor's help but after i spawn one i have the entire command reset
You can make mod file.rb like
Code:
def a
$game_map.summon_event("GoblinCommoner,$game_player.x,$game_player.y)
end
then put it into /ModScripts/ then put
a
into console and it'll spawn.
Or you could compile same code in runtime, put into console:
eval("def a;$game_map.summon_event("GoblinCommoner,$game_player.x,$game_player.y);end")
then just type
a
in console.
EDIT:
Apparently there's some debug code already in that summons monster at your position:
EvLib.sum("GoblinCommoner")
And I forgot, but there was trick >z to not close console after command (you hear error sound, console doesn't get closed, but command works), e.g.
EvLib.sum("GoblinCommoner")>z
And there's also common loop
5.times{EvLib.sum("GoblinCommoner")}
P.S. another bug fixed in
my optimization, now V9 (I'd say that was the first bug caused by bad coding in game itself and workaround might break something later on).
EDIT: this bug also removes prostitutes in noer's back street (north street) and dayguards in doom fort training area, as they're not traps I can't really fix it fast. Wait for next lonaRPG version. Or remove 9999_FasterEventLookup.rb. Or download V10 that disables that file until 0.4.3.2 or later. Or ignore it and don't have any whores in red light district.