GTX0 successfully deep-cleanedNewpost / newreply revamp Part 1Easy easy post formatting
GTX0 AnnouncementsFeedbackHelp | SandboxNewest Posts | Replies | Hottest
NIFE UpdatesRoadmapRequests | HelpDiscuss Game Worlds


NIFE: Custom Actions Notes
Posted: Posted May 18th by Xhin

I've wanted this feature for a very long time, but it finally looks very viable and maybe even relatively easy to set up.

This plugin would allow Hosts to create their own auto-actions that then do stuff via the events system.

An action can have up to three targets:

  • Bite [character] -- 1 target
  • Fix [machine] with [item] -- 2 targets
  • Examine [character] [property] with [my machine] -- 3 targets

    If we need more for some reason I can add more but I kinda doubt you'd need more than 2 ever.

    Each "target" is one of the entities that the Tech machine type taps into -- characters, rooms, items, machines, crops, etc. You can also filter these down, like "machines with 0 uses left" or "characters without the zombie trait" or even "items on a character I'm in battle with that are permanent". This filtered list would then show up in the select box.

    The format of the auto-action would look like "Fix $1 with $2". You can make whatever you want here. You can also adjust the color of the auto-action to whatever you want, but not the placement just yet.

    When the actions runs, it fires some set of events that you choose, with #target1, #target2, #target3 being whatever the player picks.

    You can also make a target a number, where you specify the range. This would allow players to adjust Stats and things in a more direct way.

    To greatly simplify things but increase functionality, whether custom actions are available or not will be based on the conditions system. Perhaps the Bite action only works if you're a zombie, or the"Lower Water Level" action only works if you're in a room with >50 water stat.

    Future Plans

    Once this plugin is in place I'd like to rewrite regular actions in it. This should drastically streamline the way actions are handled and allow for some features that are really hard right now. But additionally this would allow Hosts to reorder Actions of all kinds and turn them on or off Conditionally.

    For example you could say that all Sparring actions can only be done in a Room with the "PVP" trait. Or perhaps you can only Steal if your Thief Skill is level 3 or above.

  • settingsOptions
    There are 3 Replies

    @Moonray:

    Posted May 18th by Xhin
    Xhin
    The planets are aligned

    Weird I could've sworn I replied to this...

    Good stuff, the future plans bit in particular is something wanted but maybe didn't ask about.

    Posted May 18th by Moonray
    Moonray
     

    I wouldn't mind having the ability to group together actions or something too -- the actions area is kind of a mess at the moment if there's a lot of plugins installed.

    Posted May 18th by Xhin
    Xhin
    The planets are aligned
    Reply to: NIFE: Custom Actions Notes
    Enter your message here

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