Skip to content

Feature request: trigger restock and resetquests through game events.  #128

@flatlanderone

Description

@flatlanderone

I'm working on an expansion of the Extreme Quickstart mod and I'd like to be able to trigger restock and resetquests through game events.

Currently it's only possible by enabling dev mode and choosing <response_entry id="restock" /> / <response_entry id="resetquests" /> in dialogs.xml.

e.g.

Reset the quests for all traders.

<action_sequence name="game_resetquests_all_traders">
    <action class="resetquests">
        <property name="TraderID" value="1,6,2,7,8"/>
        <property name="resetquests" value="true" />
    </action>
</action_sequence>```

Reset the quests for Rekt.

<action_sequence name="game_resetquests_trader_rekt">




</action_sequence>```

Reset the inventory for all traders.

<action_sequence name="game_restock_all_trader">
    <action class="restock">
        <property name="TraderID" value="1,6,2,7,8"/>
        <property name="restock" value="true" />
    </action>
</action_sequence>```

Reset the inventory for trader Jen.

<action_sequence name="game_restock_all_trader">




</action_sequence>```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions