Save-Point
Good and Evil script - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Good and Evil script (/thread-2431.html)



Good and Evil script - Chaos Prime - 03-07-2008

Here is a script that i've been hanging onto that I have found on Shadow Destiny another RMXP forum site. It's made by Leon and it's scripted much like that what you'll find in the XBox and PC game Fable.

to use it you have to use these script lines in a call script command in an event.
For good, use $game_actors[actor_id] > 0
For evil, use $game_actors[actor_id] < 0
For neutral, use $game_actors[actor_id] == 0

Say you break a vase or steal from a shop then you'll use $game_actor[1] < 3 and Aluxes will gain 3 evil points.
But if you repent and take the item back or pay for the damaged good you'll call this line $game_actor[1] > 1 to regain some good points.

Hope this'll help someone.
Good & Evil