Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
Loading…
<div class="chapterHead"><h2>Chapter 1</h2><hr><h1>Chapter Title</h1></div>
Hello! This is Dark Ice, a simple Sugarcube template for interactive stories made by [[Darthsuki|http://darthsuki.tumblr.com/]] on tumblr. This template is free for personal and comercial use, but please provide a link to the file when possible so that others can find it as well!
Features included in this template:
*Simple Inventory System (via the Twine Wiki, [[documentation here|https://twinery.org/wiki/twine2:add_an_inventory_system]])
*Reader Input Functionality (using textbox macros, [[documentation here|http://www.motoslave.net/sugarcube/2/docs/#macros-macro-textbox]])
*Two start options: if the player wants to start the story right away and if they want to set up their personal settings (name, pronouns, etc) first.
<div class="center"><div class="storychoice">[[Click here to go set up the reader inputs!|Personal Settings Start]]</div></div><div class="center"><div class="storychoice">[[Just start the story!|Test]]</div></div><a data-passage="Inventory"><i class="fas fa-archive"></i> Inventory</a>
<a data-passage="Settings"><i class="fas fa-cogs"></i> Settings</a>
<div class="center"><div class="inventory">
<h2>Your Inventory</h2>
<<if $inventory.length == 0>>You are not carrying anything.<<else>>You are carrying:
<<invWithLinks>> <<endif>>
</div>
<<link "Return" $return>><</link>><div class="center"><h1>Personal Settings</h1>
Your First Name:
<<textbox "$firstname" $firstname>>
Your Last Name:
<<textbox "$lastname" $lastname>>
Your Age:
<<textbox "$age" $age>>
<hr><div class="center"><h1>Pronouns</h1>Replace the bolded words with your desired pronouns; it will default to they/them if nothing is entered.
''They'' are playing this game.
<<textbox "$sp" $sp>>
I gave the game to ''them''.
<<textbox "$op" $op>>
''Their'' game has been saved.
<<textbox "$pd" $pd>>
The game is ''theirs.''
<<textbox "$pp" $pp>>
The player is in a class all by ''themself''.
<<textbox "$rp" $rp>></div>
<<return>>
<<if $firstname eq "">><<set $firstname to "Wanderer">><</if>>
<<if $lastname eq "">><<set $lastname to "">><</if>>
<<if $age eq "">><<set $age to "21">><</if>>
<<if $sp eq "">><<set $sp to "they">><</if>>
<<if $op eq "">><<set $op to "them">><</if>>
<<if $pd eq "">><<set $pd to "their">><</if>>
<<if $pp eq "">><<set $pp to "theirs">><</if>>
<<if $rp eq "">><<set $rp to "themself">><</if>><div class="center"><h1>Personal Settings</h1>
Your First Name:
<<textbox "$firstname" "">>
Your Last Name:
<<textbox "$lastname" "">>
Your Age:
<<textbox "$age" "">>
<div class="center"><div class="storychoice">[[Submit Settings|Pronouns]]</div></div><<if $firstname eq "">><<set $firstname to "Wanderer">><</if>>
<<if $lastname eq "">><<set $lastname to "">><</if>>
<<if $age eq "">><<set $age to "21">><</if>><div class="center"><h1>Pronouns</h1>Replace the bolded words with your desired pronouns; it will default to they/them if nothing is entered.
''They'' are playing this game.
<<textbox "$sp" "">>
I gave the game to ''them''.
<<textbox "$op" "">>
''Their'' game has been saved.
<<textbox "$pd" "">>
The game is ''theirs.''
<<textbox "$pp" "">>
The player is in a class all by ''themself''.
<<textbox "$rp" "">>
<div class="center"><div class="storychoice">[[Submit Settings|Test]]</div></div>
<<if $sp eq "">><<set $sp to "they">><</if>>
<<if $op eq "">><<set $op to "them">><</if>>
<<if $pd eq "">><<set $pd to "their">><</if>>
<<if $pp eq "">><<set $pp to "theirs">><</if>>
<<if $rp eq "">><<set $rp to "themself">><</if>><<set $firstname to "Player">>
<<set $lastname to "">>
<<set $age to "">>
<<set $sp to "they">>
<<set $op to "them">>
<<set $pd to "their">>
<<set $pp to "theirs">>
<<set $rp to "themself">>
<<initInv>>This template was made with the intention of being a longer project, so by using Sugarcube the reader has the option to save their game in multiple slots. The reader also has the ability to access their inventory and change their personal settings at any time; no need to restart the game to change their name!
If you want to check out the credits and resources page you need to-
Oh, what's that on the ground?
<div class="center"><div class="storychoice">[[Pick up the item|Credits]]</div></div><<addToInv "Credits and Resources">> You've picked up an item! To see the credits and further resources to use this template, check them out by accessing the inventory found on the left side of the screen.<div class="chapterHead"><h1>Credits and Resources</h1><hr></div>
Inventory System:
* [[The Twine Wiki|https://twinery.org/wiki/twine2:add_an_inventory_system]] for compiling all of the code and information
*[[F2Andy|http://strugglingwithtwine.blogspot.com/2014/03/handling-inventory.html]] for the original code
[[The Twine Wiki|https://twinery.org/wiki/resources#sugarcube]] for SO MANY resources and documentation I've scarcely touched but are super useful for anyone getting into using Twine
[[Sugarcube v2 Documentation|http://www.motoslave.net/sugarcube/2/docs/#introduction]] for like, any help in understanding the macros and various things that Sugarcube can do for your game.
[[Astrid Dalmady|https://astriddalmady.com/resources]] for an impressive library of resources in writing interactive fiction including everything from program resources to the concept of interactive fiction itself.
[[mikewesthad|https://github.com/mikewesthad/twine-resources]] for so!! many!! goddamn Sugarcube resources!!
<<return>>