summaryrefslogtreecommitdiff
path: root/shiftos_next/shiftorium_api.vb
diff options
context:
space:
mode:
authorTheUltimateHacker <[email protected]>2015-05-18 15:46:07 -0400
committerTheUltimateHacker <[email protected]>2015-05-18 15:46:07 -0400
commit1fcbee8dab0524cb2b1aecd5bb2521acdfe6b541 (patch)
treeb5e9bcaea28d6983b4d2fce27a6bc0ce02f268e6 /shiftos_next/shiftorium_api.vb
parent37c68cce0cfd00b0982449735db35385a7e74044 (diff)
downloadshiftos-next-1fcbee8dab0524cb2b1aecd5bb2521acdfe6b541.tar.gz
shiftos-next-1fcbee8dab0524cb2b1aecd5bb2521acdfe6b541.tar.bz2
shiftos-next-1fcbee8dab0524cb2b1aecd5bb2521acdfe6b541.zip
New Shiftorium Upgrades, Better Save System.
I've added some new Shiftorium upgrades, as well as some save engine fixes. If you add to the engine, and try to load, say a Boolean value from a line containing a blank String value, it'll detect that and tell you it'll rewrite that line. It preserves what it has already loaded. I've also added some new terminal commands, and some Shiftorium bugfixes.
Diffstat (limited to 'shiftos_next/shiftorium_api.vb')
-rw-r--r--shiftos_next/shiftorium_api.vb6
1 files changed, 6 insertions, 0 deletions
diff --git a/shiftos_next/shiftorium_api.vb b/shiftos_next/shiftorium_api.vb
index 3920e0d..39960e4 100644
--- a/shiftos_next/shiftorium_api.vb
+++ b/shiftos_next/shiftorium_api.vb
@@ -1,6 +1,7 @@
Module shiftorium_api
'API for Shiftorium Applications.
+ Public listboxtoaddto As ListBox
Public codepoints As Integer
Public Sub DeductCP(ammount As Integer)
@@ -12,4 +13,9 @@
codepoints += ammount
savegame()
End Sub
+
+ Public Sub AddItem(name As String, CP As Integer)
+ listboxtoaddto.Items.Add(name & " - " & CP & " CP")
+ End Sub
+
End Module