From b24f9275db0c65466d5a666426d2355a55582b50 Mon Sep 17 00:00:00 2001 From: SiriusAshling <53594055+SiriusAshling@users.noreply.github.com> Date: Fri, 9 Aug 2024 12:20:34 +0200 Subject: [PATCH] more renames --- content/docs/seedlang/index.md | 31 ++++++++++--------------------- 1 file changed, 10 insertions(+), 21 deletions(-) diff --git a/content/docs/seedlang/index.md b/content/docs/seedlang/index.md index 14e3ee9..f7324ef 100644 --- a/content/docs/seedlang/index.md +++ b/content/docs/seedlang/index.md @@ -1381,37 +1381,26 @@ You can include existing snippets, or split your plandomizer across multiple fil ```seed !include() +!include(, , ...) ``` ##### Example ```seed !include("wisps") // wisps is the snippet adding the wisps goal mode +!include("bonus_item_core", extra_double_jump) + +on binding_1 extra_double_jump() ``` ##### Notes If you want to include custom snippets they need to be in the snippet or plandomizer folder. -#### use - -```seed -!use(, ) -``` - -##### Example - -```seed -!include("bonus_item_core") -!use("bonus_item_core", extra_double_jump) - -on binding_1 extra_double_jump() -``` - -#### share +#### export ```seed -!share() +!export() ``` ##### Example @@ -1420,8 +1409,8 @@ on binding_1 extra_double_jump() fun cool_custom_item() { item_message(":oricool:") } -// This allows other snippets to !use cool_custom_item -!share(cool_custom_item) +// This allows other snippets to !include cool_custom_item +!export(cool_custom_item) ``` #### event @@ -1916,10 +1905,10 @@ Preplacements happen before any logic, they are placed in a random location of t Snippets may add annotations to influence how they are presented to the user. They do nothing in plandomizers. -#### Hide +#### Hidden ```seed -#hide +#hidden ``` ##### Notes