Browse Source

update description when loaded new version

rachels 1 year ago
parent
commit
ba56ee7d53
2 changed files with 7 additions and 0 deletions
  1. 1 0
      isample.qproj
  2. 6 0
      locations/mod_isample_saveupdater.qsrc

+ 1 - 0
isample.qproj

@@ -6,6 +6,7 @@
       <Location name="mod_isample_setup"/>
       <Location name="mod_isample_readme"/>
       <Location name="mod_isample"/>
+      <Location name="mod_isample_saveupdater"/>
     </Folder>
     <Folder name="locations">
       <Location name="mod_isample_pav_residential"/>

+ 6 - 0
locations/mod_isample_saveupdater.qsrc

@@ -3,6 +3,12 @@
 !! The code in this location will be processed by the main game saveupdater routine as a subroutine
 !! First will be processed the code in the main routine and then all the installed mods in the order of their installation
 
+gs 'mod_isample_setup'
+$mod_name[mod_i] = $mod_info[0]
+$mod_version[mod_i] = $mod_info[1]
+$mod_author[mod_i] = $mod_info[2]
+$mod_desc[mod_i] = $mod_info[3]
+$mod_opt[mod_i] = $mod_info[4]
 
 --- mod_isample_saveupdater ---------------------------------