Skip to content

Commit

Permalink
Somewhat belated update to WEIDU v247
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMWWallace committed Jul 13, 2021
1 parent 85ca706 commit 75eed61
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 43 deletions.
2 changes: 1 addition & 1 deletion dw_lanthorn/dw_lanthorn.tp2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BACKUP ~weidu_external/backup/dw_lanthorn~
SUPPORT ~Gibberlings 3 forums, www.gibberlings3.net/forums~
VERSION @0
VERSION ~v2~
README ~dw_lanthorn/readme-dw_lanthorn.html~
AUTO_EVAL_STRINGS

Expand Down
2 changes: 1 addition & 1 deletion dw_lanthorn/lang/english/setup.tra
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// version number - do not translate

@0=~v beta 1~


// TP2 entries - starting at 1

Expand Down
41 changes: 1 addition & 40 deletions dw_lanthorn/lib/always.tpa
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

OUTER_SPRINT ini_file dw_lanthorn.ini
OUTER_SPRINT MOD_VERSION @0


// include function libraries (note that 'sfo_lite' also builds and sets a few SFO files/variables)
// WoP uses the Ascension function libraries, for ease of transfer of the 'Redeemable Balthazar' content
Expand All @@ -26,46 +26,7 @@
VERBOSE


// read in resource-id data

/*
ACTION_BASH_FOR "%MOD_FOLDER%/lib/resource_id" ".*\.2da" BEGIN
COPY "%BASH_FOR_FILESPEC%" "%workspace%"
REPLACE_TEXTUALLY "//.*" ""
COUNT_2DA_ROWS 2 rowcount
FOR (i=1;i<rowcount;i+=1) BEGIN
READ_2DA_ENTRY i 0 2 name
READ_2DA_ENTRY i 1 2 resref
SPRINT array_id "%BASH_FOR_RES%_id"
SPRINT $%array_id%("%name%") "%resref%"
PATCH_IF VARIABLE_IS_SET "%name%" BEGIN
SPRINT oldval EVAL "%%name%%"
PATCH_WARN "Duplicate variable %name% is already set to %oldval%"
END
PATCH_IF VARIABLE_IS_SET $has_been_used("%BASH_FOR_RES%" "%resref%") && !("%resref%" STRING_MATCHES_REGEXP ".*[a-z].*") BEGIN
PATCH_WARN "resref %resref% is used more than once in file %BASH_FOR_FILESPEC%"
END ELSE BEGIN
SPRINT $has_been_used("%BASH_FOR_RES%" "%resref%") ""
END
SPRINT "%name%" "%resref%"
// specifically for dialogs, build them
PATCH_MATCH "%BASH_FOR_RES%" WITH
dialogs BEGIN
PATCH_IF !FILE_EXISTS_IN_GAME "%resref%.dlg" BEGIN
INNER_ACTION BEGIN
LAF make_dialog STR_VAR dialog="%resref%" END
END
END
END
DEFAULT

END
END
BUT_ONLY
END


*/



2 changes: 1 addition & 1 deletion dw_lanthorn/lib/sfo_lite.tph
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ OUTER_SPRINT workspace "%external_loc%/workspace"
MKDIR "%workspace%"
OUTER_SPRINT marker_loc "%external_loc%/markers"
MKDIR "%marker_loc%"
OUTER_SPRINT data_loc "%external_loc%/data/ascension"
OUTER_SPRINT data_loc "%external_loc%/data/%MOD_FOLDER%"
MKDIR "%data_loc%"

OUTER_SPRINT percentage "%"
Expand Down
6 changes: 6 additions & 0 deletions dw_lanthorn/readme-dw_lanthorn.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ <h2><a name="version" id="version"></a>Version History</h2>
<div class="ribbon_triangle_h2-l"></div>
<div class="ribbon_triangle_h2-r"></div>
<div class="section">
<p>
<b>Version 2 </b>(July 2020)
</p>
<p>
Rather belated update to WEIDU v247.
</p>
<p>
<b>Version beta 1 </b>(June 2020)
</p>
Expand Down

0 comments on commit 75eed61

Please sign in to comment.