Bladeren bron

[fashionaddict] init 2

jeep91 1 jaar geleden
bovenliggende
commit
40fade4854

+ 13 - 0
fashionaddict/locations/mod_fashionaddict.qsrc

@@ -0,0 +1,13 @@
+!input mod entry point here. this will be checked on every location, please keep it clean and brief to avoid game lag
+
+if $curloc = 'pav_lake' and $clothingworntype ! 'danilovich_swimsuit' and $clothingworntype ! 'scandalicious_swimsuit' and $clothingworntype ! 'scandalicious_bikinis' and $clothingworntype ! 'allure_swimsuit' and $clothingworntype ! 'allure_bikinis' and $clothingworntype ! 'nerdvana_swimsuit' and $clothingworntype ! 'nerdvana_bikinis' and $clothingworntype ! 'nude':
+	act '[mod]Use changing room':
+		gt 'mod_fashionaddict_changingroom', 'view_swim_list'
+	end
+end
+
+if $curloc = 'wardrobe':
+	act '[mod]Pick a random outfit':
+		gt 'mod_fashionaddict_wardrobe' , 'main'
+	end
+end    

+ 6 - 0
fashionaddict/locations/mod_fashionaddict_options.qsrc

@@ -0,0 +1,6 @@
+
+*clr&cla
+! This is where you place the configuration options for your mod.
+'There are currently no options available for this mod.'
+
+act 'return': gt 'mod_setting'

+ 1 - 0
fashionaddict/locations/mod_fashionaddict_readme.qsrc

@@ -0,0 +1 @@
+Bored of having always the same fashion style in the game, this mod is for you.

+ 22 - 0
fashionaddict/locations/mod_fashionaddict_setup.qsrc

@@ -0,0 +1,22 @@
+!input basic mod information here. 
+!this location must be the first one
+
+$mod_info[0] = 'fashionaddict'
+$mod_info[1] = '10000'
+$mod_info[2] = 'Jeep91'
+$mod_info[3] = 'Become a fashion addict'
+
+$mod_info[4] = 'Options'
+!4=mod options/settings link name.
+
+! be aware, the following condition is case sensitive, you can use lcase() or ucase() to shft them before check. 
+if $curloc = 'mod_<<$mod_info[0]>>_setup':
+	usehtml = 1
+	!this will be only showed if you exec mod file. This location should be only called by gs, so this line will not trigger on normal mod playing
+	'<center><h1><font color=red>ACCESS DENIED</font></h1></center>'
+	'<<$mod_info[0]>> is a mod for <b>Girl Life - English Community Version</b>, and can not be played individually.'
+	''
+	'You can find the main game in <a href="https://www.tfgamessite.com/index.php?module=viewgame&id=597">Tfgames site</a> (external link)'
+	''
+	'Our forum: <a href="https://tfgamessite.com/phpbb3/viewforum.php?f=70">Tfgames site</a> (external link)'
+end

+ 8 - 0
fashionaddict/locations/mod_fashionaddict_wardrobe.qsrc

@@ -0,0 +1,8 @@
+
+if $ARGS[0] = 'main':
+
+    '<center><img <<$set_imgh>> src="mod/fashionaddict/wardrobe_<<rand(1,2)>>.jpg"></center>'
+	act '[mod]Return':
+		gt $loc, $loc_arg
+	end
+end