From 7f8426e53918c9d24baa17f45e0c23db5f1f912a Mon Sep 17 00:00:00 2001 From: GwendolyneFreddy Date: Thu, 24 Oct 2019 02:44:51 +0200 Subject: [PATCH] Add tp2, medata and .gitignore files --- .gitignore | 41 ++++++++++++++ abystore/abystore.ini | 39 ++++++++++++++ abystore/abystore.tp2 | 123 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 203 insertions(+) create mode 100644 .gitignore create mode 100644 abystore/abystore.ini create mode 100644 abystore/abystore.tp2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e8f9192 --- /dev/null +++ b/.gitignore @@ -0,0 +1,41 @@ +# Windows image file caches +Thumbs.db +ehthumbs.db + +# Folder config file +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + + +*.bak +*.bat +*.csv +*.7z +*.rar +*.zip +dev_notes.txt +z*.* +todo*.* + +# Windows Installer files + +# Windows shortcuts +*.lnk + +# ========================= +# Operating System Files +# ========================= + +# OSX +# ========================= + +.DS_Store +.AppleDouble +.LSOverride + +# Thumbnails +._* + + diff --git a/abystore/abystore.ini b/abystore/abystore.ini new file mode 100644 index 0000000..ee347d4 --- /dev/null +++ b/abystore/abystore.ini @@ -0,0 +1,39 @@ +# File encoding: preferred UTF8 (no BOM) if unicode characters are present, it can be ANSI for English-only +# File format: ini as default and then HJSON/JSON5/JSONC/JSON (JSON doesn't allow comments) for advanced modders who want to use benefits of those file formats +# File name: it must be the same as tp2 name: MyMod.tp2 => MyMod.ini (.hjson/.json5/.jsonc/.json) +# File location: the same folder where .tp2 file is present +# File content: every key=value pair is optional, key names are case insensitive + + +# ini section header is required to avoid false detection +[Metadata] + +# Full name of the mod, without version number +Name = The Unusual Oddities Shop + +# Author name or nick, don't use email address +Author = Rastor + +# Short description of the mod, main goals, features etc +Description = This mod adds a very unusual merchant in the Docks district of Athkatla. She sells a variety of unusual goods (BG2, ToB, BGT, BGII:EE, EET). + +# Web address of mod readme file (filename is case-sensitive!) +# Readme = https://example.com/ModName-Readme.html, https://example.com/ModName-Readme-%LANGUAGE%.html + +# Web address of mod dedicated forum or forum thread +Forum = http://www.shsforums.net/topic/57827-the-unusual-oddities-shop-v500-a-mod-from-rastor/ + +# Web address of mod personal Homepage, no need to duplicate with mod dedicated forum +# Homepage = http://www.shsforums.net/topic/57827-the-unusual-oddities-shop-v500-a-mod-from-rastor/ + +# if you use Github.com (preferred hosting site), simply use github.com/AccountOrOrgName/RepositoryName +# If you use other hosting sites, please check requirements and put direct download link +Download = + +# Requirements for other hosting sites: +# - forum attachments won't work because the download links will be changed every time when you update mod package +# - mod package should be downloaded using 'wget' commandline tool: wget.exe --no-check-certificate 'link' +# - it's possible to preform file size check using 'wget' commandline tool: wget.exe --no-check-certificate --spider 'link' +# - links do not expire after 30 or more days without download ( speeedyshare, mediafire etc has forced expiration dates) +# - hosting site won't require user interaction or captcha ( googledrive, mediafire etc require user interaction) +# - hosting site don't advertise any kind of adware/crapware etc diff --git a/abystore/abystore.tp2 b/abystore/abystore.tp2 new file mode 100644 index 0000000..9ed104c --- /dev/null +++ b/abystore/abystore.tp2 @@ -0,0 +1,123 @@ +// Version 4.0 +BACKUP ~abystore/backup~ +//AUTHOR ~Rastor ~ +SUPPORT ~http://www.shsforums.net/topic/57827-the-unusual-oddities-shop-v500-a-mod-from-rastor/~ + +VERSION ~5.0.0~ + +README ~abystore/readme/abystore-readme.html~ + + +ALWAYS + + /* Converts tra files to UTF-8 */ + ACTION_DEFINE_ARRAY r#_reload BEGIN abysetup END + ACTION_DEFINE_ARRAY r#_noconvert BEGIN END + LAF HANDLE_CHARSETS + INT_VAR + infer_charset = 1 + STR_VAR + tra_path = EVAL ~%MOD_FOLDER%/lang~ + noconvert_array = r#_noconvert + reload_array = r#_reload + END + + /* Loads in any shared functions library (general macros and functions) */ + INCLUDE ~abystore/lib/gw_functions.tpa~ // Loads macros and functions library dealing with tooltip appending and specific EE items descriptions. + +END + +AUTO_TRA ~abystore/lang/%s~ + +LANGUAGE ~English~ + ~english~ + ~abystore/lang/english/abysetup.tra~ +LANGUAGE ~Polish~ + ~polish~ + ~abystore/lang/polish/abysetup.tra~ +LANGUAGE ~Russian (by AERIE.ru)~ + ~russian~ + ~abystore/lang/russian/abysetup.tra~ +LANGUAGE ~French~ + ~french~ + ~abystore/lang/french/abysetup.tra~ +LANGUAGE ~Italian (by Ilot)~ + ~italian~ + ~abystore/lang/italian/abysetup.tra~ +LANGUAGE ~German~ + ~german~ + ~abystore/lang/german/abysetup.tra~ + + +/* ========================================== * + * The Unusual Oddities Shop * + * ========================================== */ + +BEGIN @100 +DESIGNATED 0 +REQUIRE_PREDICATE GAME_IS ~soa tob bgt bg2ee eet~ @101 + +/*DEPRECATED as of v 5.0.0 +ACTION_IF FILE_EXISTS ~override/r#abystore.rpgd~ BEGIN + FAIL ~The Unusual Oddities Shop is already installed.~ +END ELSE BEGIN + COPY_EXISTING ~sw1h01.itm~ ~override/r#abystore.rpgd~ +END +*/ + +// Orc Render +COPY ~abystore/itm/r#asoswd.itm~ ~override~ +// SAY NAME1 @1 SAY UNIDENTIFIED_DESC @3 + SAY NAME2 @2 + LPF ~GW_WRITE_EE_ITM_DESCRIPTIONS~ STR_VAR GW_desc_to_update = "@4" END + +// Loren's Chain +5 +COPY ~abystore/itm/r#aspchn.itm~ ~override~ +// SAY NAME1 @5 SAY UNIDENTIFIED_DESC @7 + SAY NAME2 @6 + LPF ~GW_WRITE_EE_ITM_DESCRIPTIONS~ STR_VAR GW_desc_to_update = "@8" END + +// Shield of the Lords +4 +COPY ~abystore/itm/r#asshld.itm~ ~override~ +// SAY NAME1 @9 SAY UNIDENTIFIED_DESC @11 + SAY NAME2 @10 + LPF ~GW_WRITE_EE_ITM_DESCRIPTIONS~ STR_VAR GW_desc_to_update = "@12" END + +// Cloak of the Gods +COPY ~abystore/itm/r#asgclk.itm~ ~override~ +// SAY NAME1 @13 SAY UNIDENTIFIED_DESC @15 + SAY NAME2 @14 + LPF ~GW_WRITE_EE_ITM_DESCRIPTIONS~ STR_VAR GW_desc_to_update = "@16" END + +// Minor Mage Gauntlets +COPY ~abystore/itm/r#asmgau.itm~ ~override~ +// SAY NAME1 @17 SAY UNIDENTIFIED_DESC @19 + SAY NAME2 @18 + LPF ~GW_WRITE_EE_ITM_DESCRIPTIONS~ STR_VAR GW_desc_to_update = "@20" END + +// Staff of the Dragon +3 +COPY ~abystore/itm/r#asmstf.itm~ ~override~ +// SAY NAME1 @21 SAY UNIDENTIFIED_DESC @23 + SAY NAME2 @22 + LPF ~GW_WRITE_EE_ITM_DESCRIPTIONS~ STR_VAR GW_desc_to_update = "@24" END + +// Halberd of Knowing +5 +COPY ~abystore/itm/r#ashalb.itm~ ~override~ +// SAY NAME1 @25 SAY UNIDENTIFIED_DESC @27 + SAY NAME2 @26 + LPF ~GW_WRITE_EE_ITM_DESCRIPTIONS~ STR_VAR GW_desc_to_update = "@28" END + +// Abysima +COPY ~abystore/cre/r#asdemn.cre~ ~override~ + SAY NAME1 @29 + SAY NAME2 @30 + WRITE_ASCII DIALOG ~R#ASDEMN~ + +COMPILE ~abystore/dlg/abysima.d~ + +EXTEND_BOTTOM ~ar0300.bcs~ ~abystore/baf/abyarea.baf~ + +// Abysima's Store +COPY ~abystore/store/r#asdemn.sto~ ~override~ + SAY NAME2 @31 +