public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: AktorTraits XP
  • Original author: kyonides
  • Original date: June 26, 2023
  • Source thread: https://forums.rpgmakerweb.com/threads/aktortraits-xp.158703/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSS Scripts (RMXP)

Summary

AktorTraits XP by Kyonides​ Introduction A forumer once asked for a very specific script to be made, a Trait System for the player's mobsters.

Archived First Post

AktorTraits XP

by Kyonides

Introduction

A forumer once asked for a very specific script to be made, a Trait System for the player's mobsters.

Add as many "traits" to each list this way:
Ruby:
LIKES = ["ice cream", "football", "science", "languages"]

If it gets too long, you can add more traits in the following lines.
Ruby:
LIKES = ["ice cream", "football", "science", "languages", "dancing",
"trees", "penguins", "pizza"]

It has several Optional Script Calls, thus feel free to read the # embedded comments left there.

WARNING!

It would fail if you are testing your game using old save files.
An Actor's Position or Actor's Index can be any Number starting from 0.
The larger your Party is, the more positions there will be available.
It is also available for RMVX and RMVX ACE.

Embedded Comments

Ruby:
# * Script Calls * #

# - Step 1: Find an Actor - 2 Methods
# actor = $game_actors[ActorID]
# actor = $game_party.member(ActorPosition)

# - Step 2: Use Any of the Following Calls

# - Check if the Actor Has a Trait - 2 Ways
# -- Pass a "Trait"
# actor.personality?("Trait")
# actor.like?("Trait")
# actor.dislike?("Trait")
# actor.hobby?("Trait")
# -- Pass 2 ActorID's
# personality?(ActorID1, ActorID2)
# like?(ActorID1, ActorID2)
# dislike?(ActorID1, ActorID2)
# hobby?(ActorID1, ActorID2)

# * Optional Script Calls * #

# Their purpose is to change the Traits at a specific moment or as per the
# player's request at a store, etc.

# - Change a Type of Trait Randomly
# actor.change_personality
# actor.change_like
# actor.change_dislike
# actor.change_hobby

DOWNLOAD SCRIPT

Terms & Conditions

Free for use in any game.
Due credit is mandatory.
Don't piss me off!
That's it!

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

Due credit is mandatory. Don't piss me off! That's it!

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rgss#script-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar