Voxel Shop beta is live. Expect occasional bugs. Learn more
TW Extension - Nexo
Nexo custom blocks, furniture and items, wired into your TypeWriter quests.
A TypeWriter extension by BTC Studio
You built a ruby ore, an oak chair and a set of custom tools in Nexo, but TypeWriter cannot see any of them: no quest asks players to mine the ore, no dialogue reacts to the chair.
Nexo Integration connects the two. Your Nexo blocks, furniture and items become events, objectives, actions, facts and variables you use from the web panel.
The extension reads and reacts to the content you already defined in Nexo. It creates nothing: you keep building blocks, furniture and items in Nexo, then use their ids in TypeWriter entries.
Everything is addressed by the Nexo item id, for example ruby_ore or oak_chair. A quest can ask players to break a custom ore or place your furniture, a sequence can start when a player hits a block, and criteria can check what a player holds or looks at.
bettermodel_id matches the one in your Nexo configuration. Leave it empty to ignore it.(1/5). The line is built from two TypeWriter snippets, so you can restyle or translate it.onComplete to a sequence that pays the player.Use a Nexo sound id wherever TypeWriter asks for a sound, so your custom sounds work in dialogues, cinematics and actions.
All 35 entries use plain Nexo item ids.
nexo_on_customblock_break_event: a Nexo custom block is brokennexo_on_customblock_place_event: a Nexo custom block is placednexo_on_customblock_interact_event: a Nexo custom block is interacted withnexo_on_customblock_damage_event: a player starts breaking a Nexo custom blocknexo_on_customblock_drop_loot_event: a Nexo custom block drops lootnexo_on_furniture_break_event: Nexo furniture is brokennexo_on_furniture_place_event: Nexo furniture is placednexo_on_furniture_interact_event: Nexo furniture is interacted withnexo_on_furniture_damage_event: a player hits Nexo furniturenexo_on_item_pickup_event: the player picks up a Nexo itemnexo_on_item_drop_event: the player drops a Nexo itemnexo_on_item_consume_event: the player consumes a Nexo itemnexo_break_customblock_objective: break Nexo custom blocksnexo_place_customblock_objective: place Nexo custom blocksnexo_break_furniture_objective: break Nexo furniturenexo_place_furniture_objective: place Nexo furniturenexo_give_item_action: give a Nexo item to the playernexo_remove_item_action: remove a Nexo item from the playernexo_holding_item_fact: is the player holding a Nexo item?nexo_item_count_fact: how many of a Nexo item the player carriesnexo_item_has_mechanic_fact: does the held item use a given mechanic?nexo_looking_at_block_fact: is the player looking at a Nexo custom block?nexo_standing_on_block_fact: is the player standing on a Nexo custom block?nexo_break_time_fact: ticks needed to break the block in viewnexo_looking_at_furniture_fact: is the player looking at Nexo furniture?nexo_furniture_light_state_fact: is the furniture in view lit?nexo_item_in_hand_id_variable: Nexo id of the held itemnexo_item_property_variable: a property of the held itemnexo_looking_at_block_id_variable: id of the block in viewnexo_standing_on_block_id_variable: id of the block underfootnexo_looking_at_furniture_id_variable: id of the furniture in viewnexo_furniture_property_variable: a property of the furniture in viewnexo_registry_ids_variable: list of the ids Nexo has loadednexo_tag_items_variable: the Nexo items carrying a given tagnexo_sound: use a Nexo sound id wherever a sound is askedplugins/Typewriter/extensions/ and restart.blockId to your Nexo block id, action to RIGHT_CLICK, and link triggers to a dialogue.quest, fact, item (the furniture id) and amount, and fill display with the tracker line.Not sure of an id? The Registry IDs variable lists everything Nexo has loaded. The full walkthrough is in the documentation.