RoboMat Posted August 7, 2013 Share Posted August 7, 2013 Like on the old forums people can post their requests for lua additions in this thread. Please just post requests here and don't debate about the ones made. The devs are perfectly capable of deciding what to add and what not to add Anyway, here we go: New / Changed Events:EveryMinute: Self explanatory.EveryHour: Self explanatory.OnUnequip: When Item is unequipped from the primary or secondary slot.OnItemUse: When item is used in the inventory. (E.g. "Eat Food" or "Bandage Wound")OnContainerUpdate: When the item containers are updated (parameters: table of contained items, getType() of the updated container) New / Changed Functions:IsoFloorBloodSplats(): in the Chunk class (or whatever is necessary to retrieve blood on walls and floors and remove it)FIX ItemContainer:isInCharacterInventory()getFps() in GameWindow.Getter / Setter for amount of splattered blood. Finished (already in the game)setPermaLocked(boolean) in IsoWindow -- RM : Done for 220.127.116.11isPermaLocked() in IsoWindow -- RM: Done for 18.104.22.168OnRainStart -- RJ : Done for 22.214.171.124OnRainStop -- RJ : Done for 126.96.36.199OnEquipPrimary: Fires when an item is equipped as primary weapon.-- RJ : Done for 188.8.131.52, param : player, itemOnEquipSecondary: Fires when an item is equipped as secondary weapon.-- RJ : Done for 184.108.40.206, param : player, itemOnItemEquipAny -- RJ : Use the OnPrimaryItem/OnSecondaryItem instead OnAmbientSound: Fires when ambient sounds is played (helicopters, gunshots ... etc.) - RJ : Done for 220.127.116.11, param : name of the ambient sound (like "chopper1", "pistolgun2",..)getClosedSprite() -- RJ : use getSprite()setClosedSprite()-- RJ : use setSprite(IsoSprite)getOpenSprite(...)-- RJ : Done for 18.104.22.168setOpenSprite(...)-- RJ : Done for 22.214.171.124setSmashed(...)-- RJ : Done for 126.96.36.199, use isDestroyed() to know if it's already smashed or notgetSmashedSprite()-- RJ : Done for 188.8.131.52 Tonythedemon, neatfire, RobertJohnson and 3 others 6 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.