Jump to content

Bible


JackTrenton

Recommended Posts

That's pretty close. Assuming that "PassageMessage" is a messagebox with options "Agree" "Disagree" and "Neutral" (in that order, and assuming that agreeing with this particular passage is a "good" thing) the script could look like this, assuming that it's activated via an activator:

int bMessageShowing
int iButton

Begin OnActivate player

ShowMessage PassageMessage
set bMessageShowing to 1
Activate

End

Begin GameMode

if bMessageShowing
	set iButton to GetButtonPressed
	if iButton == -1 ; No option selected yet
		Return
	elseif iButton == 0 ; Agree
		RewardKarma -50 ; Or any value
	elseif iButton == 1  ; Disagree
		RewardKarma 50
	else ; if iButton == 2 ; Neutral
		if player.GetActorValue Karma >= 250
			RewardKarma -50
		elseif player.GetActorValue Karma <= -250
			RewardKarma -50
		endif
	endif

	set bMessageShowing to 0
endif

End

Of course, the results of different choices could be changed very easily, as could the available choices.

 

P.S. Please use code or codebox tags when posting code. This causes it to be displayed with a fixed-width font and maintains indentation, making it easier to read. If you don't know how to indent your code, here is a web-based utility that can do it for you - Script Validator

 

Cipscis

Link to comment
Share on other sites

The destroying/reading books idea was bugging me for a bit. I couldn't remember which game had that. Then I remembered! It was angband! If you were a fighting class, you could destroy most spellbooks for XP instead of carrying them to the town to sell. Aaaanyway. Just thought I'd give credit now that I remembered what that came from.

 

I'd make the fragments thing a quest, so once you have read all of them, you get a little perk or something. Another thing that I think would be cool is if you could re-read the fragments any time, changing your answer to a different one if you feel like it, just in case your character has changed. I think all this would require is putting a flag in the script noting the answer(s) you chose.

 

I would also think that unless we're talking a single short verse per passage, there should be multiple chances to answer within each passage, making the Karma change much more dynamic. Also, agreeing with a passage shouldn't necessarily automatically increase your Karma. If I'm not mistaken, there are certain passages in the bible (especially the Old Testament) that aren't really moral.

 

What would be REALLY cool is if we could use recorded passages of the bible (I'm sure there are plenty of good ones out there in the public domain) and not have the message box contain the text, but a question. EG. "Was X's decision OK?"

 

Bible Radio? Interrupting your combat to ask what you thought of the passage you were too distracted to listen to since 2010. :P

 

TBH, I think that radio would be the best as far as RP goes. Attaching a quest to add more passages would be ideal (as mentioned in a recent request by csgators for More Where That Came From). Also, the crazy DJ who only speaks in bible quotes would be pretty awesome to talk to. :D

 

I am willing and able to do sound and GECK work for this.

 

EDIT: Duh. Just saw that this was in the suggestions box. I will start work on the Bible Radio, unless you guys would prefer the other?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...