~hristoast/ncgdMW

Hardcode it for slow gain, fast decay
4 files changed, 52 insertions(+), 50 deletions(-)

M .gitignore
M Makefile
R ncgdMW.yaml => ncgdMW-SlowGainFastDecay.yaml
M scripts/NCGD_Main.mwscript
M .gitignore => .gitignore +1 -1
@@ 1,2 1,2 @@
*.omwaddon
ncgdMW.zip
ncgdMW*.zip

M Makefile => Makefile +3 -3
@@ 4,11 4,11 @@ proj_dir := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))

.PHONY: build
build:
	delta_plugin convert ncgdMW.yaml
	delta_plugin convert ncgdMW-SlowGainFastDecay.yaml

.PHONY: clean
clean:
	cd $(proj_dir) && rm -fv ncgdMW.omwaddon ncgdMW.zip
	cd $(proj_dir) && rm -fv ncgdMW-SlowGainFastDecay.omwaddon ncgdMW-SlowGainFastDecay.zip

pkg: clean build
	cd $(proj_dir) && zip -r ncgdMW.zip docs ncgdMW.omwaddon
	cd $(proj_dir) && zip -r ncgdMW-SlowGainFastDecay.zip docs ncgdMW-SlowGainFastDecay.omwaddon

R ncgdMW.yaml => ncgdMW-SlowGainFastDecay.yaml +0 -0
M scripts/NCGD_Main.mwscript => scripts/NCGD_Main.mwscript +48 -46
@@ 233,52 233,54 @@ if (doOnce == 0)
		endif
		
		if (temp2 <= 0)
			MessageBox "Welcome to Natural Character Growth and Decay!  How fast would you like your attributes to grow?", "Fast", "Standard", "Slow"
			set temp2 to 1
		elseif (temp2 == 1)
			set temp to getButtonPressed
			if (temp == -1)
				return
			elseif (temp == 0)
				set attributeMult to 3	; Fast attribute growth
			elseif (temp == 1)
				set attributeMult to 2	; Standard attribute growth
			else
				set attributeMult to 1	; Slow attribute growth
			endif
			set temp2 to 2
		elseif (temp2 == 2)
			MessageBox "Excellent!  How quickly would you like skills to decay?", "Fast", "Standard", "Slow", "Off"
			set temp2 to 3
		elseif (temp2 == 3)
			set temp to getButtonPressed
			if (temp == -1)
				return
			elseif (temp == 0)
				set decayRate to 3	; Fast skill decay
			elseif (temp == 1)
				set decayRate to 2	; Standard skill decay
			elseif (temp == 2)
				set decayRate to 1	; Slow skill decay
			else
				set decayRate to 0	; No skill decay
			endif
			set temp2 to 4
		elseif (temp2 == 4)
			MessageBox "Is this a new game, or are you installing NCGD on an existing save?", "New Game", "Existing Save"
			set temp2 to 5
			return
		elseif (temp2 == 5)
			set temp to getButtonPressed
			if (temp == -1)
				return
			elseif (temp == 0)
				set temp2 to 6		; New Game
			else
				set temp2 to 11		; Existing Save
			endif
		elseif (temp2 == 6)
			MessageBox "Natural Character Growth and Decay is good to go!\nIt may take a few seconds to adjust your Attributes.", "Okay"
		;	MessageBox "Welcome to Natural Character Growth and Decay!  How fast would you like your attributes to grow?", "Fast", "Standard", "Slow"
		;	set temp2 to 1
		;elseif (temp2 == 1)
		;	set temp to getButtonPressed
		;	if (temp == -1)
		;		return
		;	elseif (temp == 0)
		;		set attributeMult to 3	; Fast attribute growth
		;	elseif (temp == 1)
		;		set attributeMult to 2	; Standard attribute growth
		;	else
		;		set attributeMult to 1	; Slow attribute growth
		;	endif
		;	set temp2 to 2
		;elseif (temp2 == 2)
		;	MessageBox "Excellent!  How quickly would you like skills to decay?", "Fast", "Standard", "Slow", "Off"
		;	set temp2 to 3
		;elseif (temp2 == 3)
		;	set temp to getButtonPressed
		;	if (temp == -1)
		;		return
		;	elseif (temp == 0)
		;		set decayRate to 3	; Fast skill decay
		;	elseif (temp == 1)
		;		set decayRate to 2	; Standard skill decay
		;	elseif (temp == 2)
		;		set decayRate to 1	; Slow skill decay
		;	else
		;		set decayRate to 0	; No skill decay
		;	endif
		;	set temp2 to 4
		;elseif (temp2 == 4)
		;	MessageBox "Is this a new game, or are you installing NCGD on an existing save?", "New Game", "Existing Save"
		;	set temp2 to 5
		;	return
		;elseif (temp2 == 5)
		;	set temp to getButtonPressed
		;	if (temp == -1)
		;		return
		;	elseif (temp == 0)
		;		set temp2 to 6		; New Game
		;	else
		;		set temp2 to 11		; Existing Save
		;	endif
		;elseif (temp2 == 6)
		;	MessageBox "Natural Character Growth and Decay is good to go!\nIt may take a few seconds to adjust your Attributes.", "Okay"
			set attributeMult to 1	; Slow attribute growth
			set decayRate to 3	; Fast skill decay
			set temp2 to 10
			
		elseif (temp2 == 10)