Creatures
Interface with the Creatures 2 game
Install
Install it for use in your own application:
npm install creatures
Features
- Executing CAOS commands
- Interpreting history files
- ...
Author
You can follow me on twitter:
@skeriten
License
MIT
Library to interface with the Creatures 2 game
Interface with the Creatures 2 game
Install it for use in your own application:
npm install creatures
You can follow me on twitter:
@skeriten
MIT
ENOENT if they're export filesgetspeed commandCreaturesApplication#creature_count property, which gives the amount of creatures in the current worldCreaturesApplication#getWorldName for 60 secondsCreature#getOwnerData and Creature#setNotesserialize and parse methods for use in LString fieldshandle was 0)doUnpausedCreaturesApplication#saveGame(callback) which can save the game when using the blueberry4$ cheatCreature#teachLanguage() not working properlygetCreatureIds will no longer callback with an array with 1 empty id stringlog method to base classreadFile method that will retry reading a file on EBUSY errorsCreature#update can now timeoutSfcOle calls the done task after receiving error responsesworld_name event when a new world is detectedremoved eventCreature#getBodyPartImage being deadlocked waiting for ready eventWorld.sfc world, which stored data in other locationsS16#load from getting stuck in an infinite loopGenome#getBodyPartImage so that it tries all lower lifestages before giving up (especially needed for ettins)Creature#select(callback) method to make it the active creatureCreaturesApplication#getProcessPath will now callback with the path to the process as a string instead of a wrapped objectCreature#getWorldNamestoJSON function on class instancesSFCOle class will now emit vbole_error errors, for when certain dialogs pop upCreaturesApplication class will forward these errors as either error_dialogbox or error_vbole. A callback is provided with which you have to respond.WriteDebug method & flush outputsSFCOle#escapeKeys to escape a SendKeys string.exp files to a temporary location before importing them, so they do not get removedExport class to read in exp files (only gets the moniker for now)c2window_elements commandplay and pause command, which sets the "paus" variable using CAOSCreaturesApplication method play, pause, getIsPlaying and doUnpausedEgg classChemistry class and chemicalsCreature#getBodyPartImage to Genome classCreature#inseminate methodWindow#getProcessPath to VBOle and implemented the getprocesspath commandCreature#teachLanguage (you still need to re-set the creature's name, though)Creature#move command