From 64e2b00078182e998bc014f2af93022b54e2a16c Mon Sep 17 00:00:00 2001 From: duncathan Date: Fri, 15 Mar 2019 00:54:40 -0600 Subject: [PATCH] sets up get item scripts --- src/assets/pre-edited-cs/data/Head.tsc | 2 +- .../pre-edited-cs/data/ScriptSource/Head.txt | 231 ++++++++++++++++++ src/database/items.lua | 102 ++++---- 3 files changed, 283 insertions(+), 52 deletions(-) create mode 100644 src/assets/pre-edited-cs/data/ScriptSource/Head.txt diff --git a/src/assets/pre-edited-cs/data/Head.tsc b/src/assets/pre-edited-cs/data/Head.tsc index e1561b1..b47fc1a 100644 --- a/src/assets/pre-edited-cs/data/Head.tsc +++ b/src/assets/pre-edited-cs/data/Head.tsc @@ -1 +1 @@ -gttttQN€‰’ˆQNQNgtttuQN€”–€‘—‹‰±΄Έ½r€’“ˆ€‰’ˆQNQNgttuzQN€”–€‘—‹QNˆ³d½³Ήd»₯²ΈdΈ³d·₯Ί©ƒ€’Žtttt€Šotxwu€—š”€‡–‹₯±©d·₯Ί©¨r€’“ˆ€‰’ˆQNQNgttu{QN€”–€ŠŽtvtu~ttu|QN€outtt€—“™ttvt€…‰o€‘—‹QNŒ©₯°Έ¬dΆ©ͺ­°°©¨r€’“ˆ€‰’ˆQNgttu|QN€”–QN€outtt€—“™ttvt€…‰o€‘—‹QNŒ©₯°Έ¬d₯²¨d±­··­°©·dΆ©ͺ­°°©¨r€’“ˆ€‰’ˆQNQNgttu}QN€‰€‘—‹QNˆ³d½³Ήd»₯²ΈdΈ³dΆ©·Έƒ€’Žtttt€Š…“tttx€‡‘™tttt€›…ttvt€‡–rrrrr€’“ˆ€‡“QN€›…ttytQN€outtt€—“™ttvt€‘ˆtttv€‘—‹QNŒ©₯°Έ¬dΆ©·Έ³Ά©¨r€’“ˆ€‡“€–‘™€Š…tttx€‰’ˆQNQNgttwtQN€”–€ŠŽtvtv~ttwv€ŠŽtvtu~ttwu€Šotvtu€‹˜ttty€…‘ottty~ttutQN€‡‘™ttut‹³ΈdΈ¬©d‘­··­°©d₯Ή²§¬©Άe€›…tuzt€’“ˆ€–‘™€‡–˜¬©d‘­··­°©d₯Ή²§¬©Άd­·d₯d΄³»©ΆͺΉ°QN»©₯΄³²pd¦ΉΈd­Έ·d₯±±³d­·d°­±­Έ©¨r€’“ˆQN³Ήd§₯²dΆ©΄°©²­·¬d½³ΉΆd·Έ³§―΄­°©QN»­Έ¬d­Έ©±·d¨Ά³΄΄©¨d¦½d©²©±­©·r€’“ˆ€‰’DQNgttwuQN€”–€…‘ottty~ttty€‘—‹QN€‹˜tttz‘₯Όd±­··­°©·d­²§Ά©₯·©¨d¦½d€’™‘tttte€’“ˆ€‰’ˆQNgttwvQN€”–€…‘ottut~ttty€‘—‹QN€‹˜ttuu‘₯Όd±­··­°©·d­²§Ά©₯·©¨d¦½d€’™‘tttte€’“ˆ€‰’ˆQNQNgttxtQN€‰€‡‘™tttt€›…ttxt€”–€›…ttxt€‡‘™tttwQN€‘—‹QN³Ήd¬₯Ί©d¨­©¨r€’“ˆ€‡–›₯²ΈdΈ³dΆ©ΈΆ½ƒ€’Žttx}€‡“QN€Š…“tttu€›…ttyt€ŠŽtxwu~ttx|€’€‰’ˆQNQNgttxuQN€‰€‡‘™tttt€Œ‘‡€›…ttxt€”–€›…ttxt€‡‘™tttwQN€‘—‹QN³Ήd¬₯Ί©d¨Ά³»²©¨r€’“ˆ€‡–›₯²ΈdΈ³dΆ©ΈΆ½ƒ€’Žttx}€‡“QN€Š…“tttu€›…ttyt€ŠŽtxwu~ttx|€’€‰’ˆQNQNgttxvQN€‰€‡‘™tttt€›…ttxt€”–€›…ttxt€‡‘™tttwQN€‘—‹€Œ‘‡QN³Ήd»©Ά©d²©Ί©Άd·©©²d₯«₯­²rrr€’“ˆ€‡–›₯²ΈdΈ³dΆ©ΈΆ½ƒ€’Žttx}€‡“QN€Š…“tttu€›…ttyt€ŠŽtxwu~ttx|€’€‰’ˆQNQNgttx|QN€—‘‡€ˆ”€‰’ˆQNQNgttx}QN€‡“€Š…“tttx€‰—‡QNQNQNœœ~d¬©₯¨rΈ·§dddxtttdqdxt}}QNxttt~…°±³²¨ΤΙΧ3QN \ No newline at end of file +DQQQQ.+]foe.+DQQQR.+]qsj]nthfŽ‘•šO]ope]foe.+DQQQS.+]bnkQQQS[QQQT]qsj]nth]uvs]hjuQQQS]bnLQQQS[QQQQ.+h•A•‰†A^q‚“At•‚“^B]xbjQQSV]ope]foe.+DQQQT.+]qsj]nth]uvs]hjuQQRT]ubnQQQS[QQRT[QQQQ.+h•A•‰†A^t‘–“^B]xbjQQSV]ope]foe.+DQQQU.+]qsj]nth]uvs]hjuQQQT.+h•A•‰†A^gŠ“†ƒ‚^B]xbjQQSV]ope]dms.+]gmkSYQQ[QQQW]gmLSYQQ]bnLQQQT[QQQQ]foe.+DQQQV.+]qsj]nth]uvs]hjuQQQR.+h•A•‰†A^t‚Œ†^B]xbjQQSV]ope]dms.+]gmkSYQQ[QQQW]gmLSYQQ]bnLQQQR[QQQQ]foe.+DQQQW.+]qsj]nthz–AŽ‚šA•“‚…†A•‰†A]hjuQQQT^gŠ“†ƒ‚^]hjuQQQQA˜Š•‰.+•‰†A]hjuQQQR^t‚Œ†^]hjuQQQQA‚…A—Š„†N—†“”‚A‚•A•‰†.+„Ž‘–•†“AŠAb“•‰–“H”Ai–”†O]gmLSYQR]foe.+DQQQX.+]qsj]nth]uvs]hjuQQQX]bnLQQQX[QRQQ.+h•A•‰†A^c–ƒƒ†“^B]xbjQQSV]ope]foe.+DQQQY.+]qsj]nth]uvs]hjuQQQU]bnLQQQU[QRQQ.+h•A•‰†A^n‚„‰Š†Ah–^B]xbjQQSV]ope]foe.+DQQQZ.+]qsj]nth]uvs]hjuQQQZ.+h•A•‰†A^c‚…†^B]xbjQQSV]ope]dms.+]gmkSYRQ[QQRR]gmLSYRQ]bnLQQQZ[QQQQ]foe.+DQQRQ.+]qsj]nth]uvs]hjuQQRS.+h•A•‰†A^o†Ž†”Š”^B]xbjQQSV]ope]dms.+]gmkSYRQ[QQRR]gmLSYRQ]bnLQQRS[QQQQ]foe.+DQQRR.+]qsj]nthz–AŽ‚šA•“‚…†A•‰†A]hjuQQRS^o†Ž†”Š”^]hjuQQQQA˜Š•‰A•‰†.+]hjuQQQZ^c‚…†^]hjuQQQQA‚…A—Š„†N—†“”‚A‚•A•‰†.+„Ž‘–•†“AŠAb“•‰–“H”Ai–”†O]gmLSYRR]foe.+DQQRW.+]qsj]nth.+eAš–A˜‚•A•A”‚—†`]zokQQQQ]gmLQUTR]twq]dmsh‚Ž†A”‚—†…O]ope]foe.+DQQRX.+]qsj]gmkQSQR[QQRY.+]mjLRQQQ]tpvQQSQ]bfL]nth.+i†‚•‰A“†‡Š†…O]ope]foe.+DQQRY.+]qsj.+]mjLRQQQ]tpvQQSQ]bfL]nth.+i†‚•‰A‚…AŽŠ””Š†”A“†‡Š†…O]ope]foe.+DQQRZ.+]lfz]nth.+eAš–A˜‚•A•A“†”•`]zokQQQQ]gbpQQQU]dnvQQQQ]xbjQQSQ]dmsOOOOO]ope]dmp.+]xbjQQVQ.+]mjLRQQQ]tpvQQSQ]nzeQQQS]nth.+i†‚•‰A“†”•“†…O]ope]dmp]snv]gbjQQQU]foe.+DQQTQ.+]qsj]tbu]nth]gmkQSQS[QQTS]gmkQSQR[QQTR]gmLQSQR]hjuQQQV]bnLQQQV[QQRQ.+h•A•‰†A^nŠ””Š†Am‚–„‰†“^B]xbjQQSV]ope]foe.+DQQTR.+]qsj]bnLQQQV[QQQV]nth.+]hjuQQQWn‚™AŽŠ””Š†”AŠ„“†‚”†…AƒšA]ovnQQQQB]ope]foe.+DQQTS.+]qsj]bnLQQRQ[QQQV]nth.+]hjuQQRRn‚™AŽŠ””Š†”AŠ„“†‚”†…AƒšA]ovnQQQQB]ope]foe.+DQQTT.+]gmLQSQS]bnkQQQV[QQTU.+]qsj]nth]uvs]hjuQQRQ]bnLQQRQ[QQRQ.+h•A•‰†A^t–‘†“AnŠ””Š†Am‚–„‰†“^B]xbjQQSV]ope]foe.+DQQTU.+]qsj]nth]uvs]hjuQQRQ]ubnQQQV[QQRQ[QQQQ.+z–“AnŠ””Š†”A‰‚—†Aƒ††A‘˜†“†…A–‘B]xbjQQSV]ope]foe.+DQQTV.+]qsj]gmkQSQS[QQTX]gmkQSQR[QQTW]gmLQSQR]nth]uvs]hjuQQQV]bnLQQQV[QQSU.+h•A•‰†A^nŠ””Š†Am‚–„‰†“^B]xbjQQSV]ope]foe.+DQQTW.+]qsj]bnLQQQV[QQSU]nth]uvs]hjuQQQWn‚™AŽŠ””Š†”AŠ„“†‚”†…AƒšA]ovnQQQQB]xbjQQSV]ope]foe.+DQQTX.+]qsj]bnLQQRQ[QQSU]nth]uvs]hjuQQRRn‚™AŽŠ””Š†”AŠ„“†‚”†…AƒšA]ovnQQQQB]xbjQQSV]ope]foe.+DQQUQ.+]lfz]dnvQQQQ]xbjQQUQ]qsj]xbjQQUQ]dnvQQQT.+]nth.+z–A‰‚—†A…Š†…O]ope]dmsx‚•A•A“†•“š`]zokQQUZ]dmp.+]gbpQQQR]xbjQQVQ]gmkQUTR[QQUY]joj.+DQQUR.+]lfz]dnvQQQQ]ind]xbjQQUQ]qsj]xbjQQUQ]dnvQQQT.+]nth.+z–A‰‚—†A…“˜†…O]ope]dmsx‚•A•A“†•“š`]zokQQUZ]dmp.+]gbpQQQR]xbjQQVQ]gmkQUTR[QQUY]joj.+DQQUS.+]lfz]dnvQQQQ]xbjQQUQ]qsj]xbjQQUQ]dnvQQQT.+]nth]ind.+z–A˜†“†A†—†“A”††A‚ˆ‚ŠOOO]ope]dmsx‚•A•A“†•“š`]zokQQUZ]dmp.+]gbpQQQR]xbjQQVQ]gmkQUTR[QQUY]joj.+DQQUY.+]tnd]meq.+DQQUZ.+]dmp]gbpQQQU]ftd.+DQQVR.+]qsj]nth]uvs]hjuRQQR]juLQQQR.+h•A^b“•‰–“H”Al†š^!]xbjQQSV]ope]foe.+DQQVS.+]qsj]nth]uvs]hjuRQQS]juLQQQS]frLQQQS.+h•A•‰†A^n‚‘Atš”•†Ž^B]xbjQQSV]ope]foe.+DQQVT.+]qsj]nth]uvs]hjuRQQT]juLQQQT.+h•A^t‚•‚H”Al†š^B]xbjQQSV]ope]foe.+DQQVU.+]qsj]nth]uvs]hjuRQQU]juLQQQU.+h•A•‰†A^tŠ—†“Am„Œ†•^B]xbjQQSV]ope]foe.+DQQVV.+]qsj]nth]uvs]hjuRQQV]juLQQQV.+h•A•‰†A^c†‚”•Ag‚ˆ^B]xbjQQSV]ope]foe.+DQQVX.+]qsj]nth]uvs]hjuRQQX]juLQQQX.+h•A•‰†A^jeAd‚“…^B]xbjQQSV]ope]foe.+DQQVY.+]qsj]nth]uvs]hjuRQQY]juLQQQY.+h•A•‰†A^k†š‡Š”‰Ak–Š„†^B]xbjQQSV]ope]foe.+DQQVZ.+]qsj]nth]uvs]hjuRQQZ]juLQQQZ.+h•A•‰†A^s–”•šAl†š^B]xbjQQSV]ope]foe.+DQQWQ.+]qsj]nth]uvs]hjuRQRQ]juLQQRQ.+h•A•‰†A^h–ŽAl†š^B]xbjQQSV]ope]foe.+DQQWR.+]qsj]nth]uvs]hjuRQRR]juLQQRR.+h•A•‰†A^h–ŽAc‚”†^B]xbjQQSV]ope]foe.+DQQWS.+]qsj]nth]uvs]hjuRQRS]juLQQRS.+h•A•‰†A^d‰‚“„‚^B]xbjQQSV]ope]foe.+DQQWT.+]qsj]nth]uvs]hjuRQRT]juLQQRT.+h•A•‰†A^f™‘”Š—†^B]xbjQQSV]ope]foe.+DQQWV.+]qsj]nth]uvs]hjuRQRV]juLQQRV.+h•A•‰†A^mŠ‡†Aq•^B]xbjQQSV]ope]foe.+DQQWW.+]qsj]nth]uvs]hjuRQRW]juLQQRW.+h•A•‰†A^d–“†Nb^B]xbjQQSV]ope]foe.+DQQWX.+]qsj]nth]uvs]hjuRQRX]juLQQRX.+h•A•‰†A^dŠŠ„Al†š^B]xbjQQSV]ope]foe.+DQQWY.+]jukQQRY[QQXT.+]qsj]nth]uvs]hjuRQRY]juLQQRY]frLQQQR.+h•A•‰†A^c”•†“AQOY^B]xbjQQSV]ope]foe.+DQQWZ.+]qsj]nth]uvs]hjuRQRZ]juLQQRZ]frLQQQU.+h•A•‰†A^b“Ž”Ac‚““Š†“^B]xbjQQSV]ope]foe.+DQQXQ.+]qsj]nth]uvs]hjuRQSQ]juLQQSQ]frLQQQY.+h•A•‰†A^u–“ƒ„‰‚“ˆ†^B]xbjQQSV]ope]foe.+DQQXR.+]qsj]nth]uvs]hjuRQSR]juLQQSR]frLQQRW.+h•A^d–“šH”AbŠ“Au‚Œ^B]xbjQQSV]ope]foe.+DQQXS.+]qsj]nth]uvs]hjuRQSS]juLQQSS.+h•A•‰†A^oŠŒ–Ž‚“–Ad–•†“^B]xbjQQSV]ope]foe.+DQQXT.+]qsj]nth]uvs]hjuRQST]juLQQST]juNQQRY]frLQQTS]frNQQQR.+h•A•‰†A^c”•†“ASOQ^B]xbjQQSV]ope]foe.+DQQXU.+]qsj]nth]uvs]hjuRQSU]juLQQSU.+h•A•‰†A^nŠŽŠˆ‚An‚”Œ^B]xbjQQSV]ope]foe.+DQQXV.+]qsj]nth]uvs]hjuRQSV]juLQQSV.+h•A•‰†A^u††‘“•†“AsŽAl†š^B]xbjQQSV]ope]foe.+DQQXW.+]qsj]nth]uvs]hjuRQSW]juLQQSW.+h•A^t–†H”Am†••†“^B]xbjQQSV]ope]foe.+DQQXX.+]qsj]nth]uvs]hjuRQSX]juLQQSX.+h•A•‰†A^d•“†“^B]xbjQQSV]ope]foe.+DQQXY.+]qsj]nth]uvs]hjuRQSY]juLQQSY.+h•A•‰†A^c“Œ†At‘“ŠŒ†“^B]xbjQQSV]ope]foe.+DQQXZ.+]qsj]nth]uvs]hjuRQSZ]juLQQSZ.+h•A•‰†A^t‘“ŠŒ†“^B]xbjQQSV]ope]foe.+DQQYQ.+]qsj]nth]uvs]hjuRQTQ]juLQQTQ.+h•A•‰†A^u˜As‘†^B]xbjQQSV]ope]foe.+DQQYR.+]qsj]nth]uvs]hjuRQTR]juLQQTR.+h•A•‰†A^d‚šAgŠˆ–“†An†…‚^B]xbjQQSV]ope]foe.+DQQYS.+]qsj]nth]uvs]hjuRQTS]juLQQTS.+h•A•‰†A^mŠ••†An‚^B]xbjQQSV]ope]foe.+DQQYT.+]qsj]nth]uvs]hjuRQTT]juLQQTT.+h•A•‰†A^n–”‰“ŽAc‚…ˆ†^B]xbjQQSV]ope]foe.+DQQYU.+]qsj]nth]uvs]hjuRQTU]juLQQTU.+h•A^n‚AqŠˆ^B]xbjQQSV]ope]foe.+DQQYV.+]qsj]nth]uvs]hjuRQTV]juLQQTV.+h•A^d–“šH”Aq‚•Š†”^B]xbjQQSV]ope]foe.+DQQYW.+]qsj]nth]uvs]hjuRQTW]juLQQTW.+h•A•‰†A^bŠ†An†…‚^B]xbjQQSV]ope]foe.+DQQYX.+]qsj]nth]uvs]hjuRQTX]juLQQTX.+h•A^d‰‚„H”AmŠ‘”•Š„Œ^B]xbjQQSV]ope]foe.+DQQYY.+]qsj]nth]uvs]hjuRQTY]juLQQTY]frLQRSY.+h•A•‰†A^x‰ŠŽ”Š„‚At•‚“^B]xbjQQSV]ope]foe.+DQQYZ.+]qsj]nth]uvs]hjuRQTZ]juLQQTZ.+h•A•‰†A^j“Ac…^B]xbjQQSV]ope]foe.+.+ \ No newline at end of file diff --git a/src/assets/pre-edited-cs/data/ScriptSource/Head.txt b/src/assets/pre-edited-cs/data/ScriptSource/Head.txt new file mode 100644 index 0000000..b9bdaee --- /dev/null +++ b/src/assets/pre-edited-cs/data/ScriptSource/Head.txt @@ -0,0 +1,231 @@ +#0000 + snake is progressive much like polar star -> spur + script = "