GTX0 AnnouncementsFeedbackHelp | SandboxNewest Posts | Replies | Hottest
NIFE UpdatesRoadmapRequests | HelpDiscuss Game Worlds


NIFE: Blessed Items plugin
Posted: Posted March 29th
Edited March 29th by Xhin

This plugin makes NIFE randomly change the properties of items when they're cloned (via mining them, events, crops, buying from a shop, etc) according to your settings.



This should be straightforward. Add items that can have "blessings" attached to them, and click the link to edit them.



Here you have a list of Item Traits. You can set a chance (0-100) of that trait appearing on the cloned item. In the above example, there's a 50% chance of getting the "Shield Active" trait, a 100% chance of getting the "Mana Shield" trait, and a 0% chance of getting the "Pierce Shields" trait.

Note that this will actually overwrite default properties... if the item has a "Shield Active" trait attached to it, then when it's cloned there's a 50% chance that that trait will actually get removed.



This lets you adjust stats. The chance field works much the same way. The "Settings" field allows for some finer customization of the stat amount, which the Help section should give you some examples of how to work.

You can totally combine its examples, for example:

1-5(1),10-20(3)

Has a 3/4 chance of being 10-20 and a 1/4 chance of being 1-5.

Events

This update also introduces some (maybe) useful Events. Note that these Events will only appear in the list if the plugin is installed.

Item Events

  • Unbless (item) -- Lets you reset a specific item back to its default cloned behavior
  • Rebless (item) -- Unblesses the item and then blesses it anew

    Character Events

    This applies to items on the character.

  • Unbless Random Item (character) -- Unblesses one of the character's blessed items at random
  • Unbless All Items (character) -- Unblesses all of the character's blessed items
  • Rebless Random Item (character) -- Reblesses one of the character's blessable items at random
  • Rebless All Items (character) -- Reblesses all of the character's blessable items.

    Room events

    This applies to items in the room.

  • Unbless Random Item (room) -- Unblesses one of the room's blessed items at random
  • Unbless All Items (room) -- Unblesses all of the room's blessed items
  • Rebless Random Item (room) -- Reblesses one of the room's blessable items at random
  • Rebless All Items (room) -- Reblesses all of the room's blessable items.

  • settingsOptions
    There are 7 Replies

    @Moonray:

    Posted March 29th by Xhin
    Xhin
    Fractal icious

    Unrelated question...

    Did you ever make it so that it's possible to use events to apply hazardous effects to a room.

    Eg, have a button that causes a room to give anyone poison (or whatever) when they're in the room?

    Posted March 29th by Moonray
    Moonray
     

    @Moonray: Yeah, in the "Entities" Object you have:

  • Add Room Status Effect (Room, Status Effect, Duration)
  • Toggle Room Status Effect (Room, Status Effect, Duration)

    Events don't work with Poison/Regen yet, but all the other status effects are supported.

  • Posted March 29th by Xhin
    Xhin
    Fractal icious

    Actually I just realized the only stuff in that object are status effects, so I renamed it to "Status Effects".

    Posted March 29th by Xhin
    Xhin
    Fractal icious

    Can this game be played yet?

    Posted March 29th by I killed Mufasa
    I killed Mufasa
    long live the king

    Yeah various games are totally playable:
    http://gtx0.com/play/the_arena http://gtx0.com/play/superpowers
    I've kind of been using them as testing grounds for new features so there might be a lot of random stuff in there, but the core games still work.

    Posted March 29th by Xhin
    Xhin
    Fractal icious

    Also you can make your own games, since that's kinda the point of NIFE:
    http://gtx0.com/engines/Adventure/Host/New_Game.php

    Posted March 29th by Xhin
    Xhin
    Fractal icious
    Reply to: NIFE: Blessed Items plugin
    Enter your message here

    Site Rules | Complaints Process | Register Complaint Facebook Page
    GTX0 © 2009-2017 Xhin GameTalk © 1999-2008 lives on