Save-Point
Code Mora : Morality Engine - 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: Code Mora : Morality Engine (/thread-5867.html)



Code Mora : Morality Engine - BeJeremiah - 07-23-2016

Code Mora : Morality Engine
Version: 1.01

Introduction

I do not normally post my scripts, but on request of Siletrea, I have modified my Morality script from my old game, Code MORA.

In short, this script gives actors a native alignment of "Neutral", "Bad", or "Good" based on points labeled as dharma.

Features
  • Assign Alignment
  • Change actor sprite based on Alignment
  • More Features coming...

Screenshots

No screenshots needed.

Demo

Coming Soon. Possibly after Next update.

Script

"The Script be`th Inside"

Instructions

Instructions:
  Place this script above main, and below any other scripts.
  For this to work with your Battle Script it requires editing.
    Add the method "actor.gain_exp()" to replace "actor.exp += value"
    This will allow you to gain or loose "dharma" by monster id
    ATTENTION: You have to set monster IDs under Monster Alignments
    or gain_exp does ... absolutely nothing...heh


  To Modify Align:
    In Battle Script: Add actor.gain_exp(enemy, exp) to replace actor.exp += value.
    In Events: Use direct_flow(value) replace value with the amount
    To Show Alignment Name: $game_party.actors[party_id].code.name.to_s
   

FAQ

Hmmm, not yet.

Compatibility

An RPGMaker XP script. Compatability with other systems not tested.

Credits and Thanks

Credits to me...and Siletrea for requesting it.

Author's Notes

Scripts tend to be buggy at first, and this may not work with all other systems.

Terms and Conditions

Free for Use (Commercial or Otherwise). DO NOT REMOVE CREDITS