• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Player Pronouns (alt)

Resource Player Pronouns (alt) N/A

Gardenette

Cooltrainer
Member
Joined
May 30, 2022
Posts
156
Yes, we've got a lot of scripts on this project. I have no idea which one would be interfering. I don't know how many were added by essentials and how many were added by the team. It might be better to send you a link to download the project if that's okay. I would prefer to message it to you or something.
It doesn’t matter where you put it, plugins and scripts get compiled in the same place. I’m just asking if you have any other plugins because something might be overwriting the changes here.
 

BiggusWeeabus

"What's so funny about Biggus Dickus?"
Member
Joined
Sep 1, 2020
Posts
105
Hello! i'm facing problems when trying to set the pronouns at the intro of the game, i get the following error message when i try to use any "pronounsXXX" command:
Ruby:
Expand Collapse Copy
[Pokémon Essentials version 19.1]
[Generation 8 Project v1.1.2]

Exception: NoMethodError
Message: undefined method `downcase' for nil:NilClass

Backtrace:
357:Pronouns:227:in `pbMessageDisplay'
089:Messages:720:in `pbMessage'
034:Interpreter_Commands:195:in `command_101'
034:Interpreter_Commands:21:in `execute_command'
033:Interpreter:130:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
032:Scene_Map:155:in `loop'
032:Scene_Map:155:in `update'

And this one when i try to use "pronounsCustom":
Ruby:
Expand Collapse Copy
[Pokémon Essentials version 19.1]
[Generation 8 Project v1.1.2]

Exception: RuntimeError
Message: Script error in event 3 (coords 0,0), map 1 (Intro):
Exception: NoMethodError
Message: undefined method `downcase' for nil:NilClass

***Full script:
pronounsCustom


Backtrace:
357:Pronouns:227:in `pbMessageDisplay'
089:Messages:720:in `pbMessage'
357:Pronouns:97:in `block in pronounsCustom'
357:Pronouns:96:in `loop'
357:Pronouns:96:in `pronounsCustom'
(eval):1:in `execute_script'
033:Interpreter:140:in `eval'
033:Interpreter:140:in `execute_script'
034:Interpreter_Commands:1030:in `command_355'
034:Interpreter_Commands:116:in `execute_command'


Backtrace:
033:Interpreter:192:in `rescue in execute_script'
033:Interpreter:138:in `execute_script'
034:Interpreter_Commands:1030:in `command_355'
034:Interpreter_Commands:116:in `execute_command'
033:Interpreter:130:in `block in update'
033:Interpreter:87:in `loop'
033:Interpreter:87:in `update'
032:Scene_Map:157:in `block in update'
032:Scene_Map:155:in `loop'
032:Scene_Map:155:in `update'

I didn't touch anything in the script at all, also, my plugin list:


Ruby:
Expand Collapse Copy
-------------------------------------------------------------------------------
Debug Output:
-------------------------------------------------------------------------------

Loaded plugin: v19.1 Hotfixes
Loaded plugin: Voltseon's Pause Menu
Loaded plugin: Transform Mosaic Animation
Loaded plugin: RSE Trainer Card
Loaded plugin: Pokemon Contests Script
Loaded plugin: Pokemon Amie/ Refresh
Loaded plugin: Nuzlocke X
Loaded plugin: Multiple save (v.19)
Loaded plugin: Luka's Scripting Utilities
Loaded plugin: Mega Evolution
Loaded plugin: Marin's Scripting Utilities
Loaded plugin: Marin's Map Exporter
Loaded plugin: Modular Title Screen
Loaded plugin: Looping Trainer Intro as BGM
Loaded plugin: Fancy Badges
Loaded plugin: Enhanced Jukebox
Loaded plugin: Encounter List UI (v19)
Loaded plugin: EVs and IVs in Summary
Loaded plugin: Bag Screen w/interactable Party
Loaded plugin: Astralneko's Miscellaneous Scripts
Loaded plugin: Advanced HM Items
 
Hello! i'm facing problems when trying to set the pronouns at the intro of the game, i get the following error message when i try to use any "pronounsXXX" command:
On the off chance you still need help with this (and sorry for taking months to reply!), I think the issue might be that you're calling a pronouns command before calling a pbChangePlayer command? The pronouns are stored as an attribute of the trainer, so the game needs a trainer set up and saved to the $Trainer value before it can save the pronouns.
Would this work for setting NPC pronouns?
Mm, depends on how you plan on using it. If you're using it just to set one NPC's pronouns, and not the player, you could just use the script as-is and just use the values differently. (although I imagine that's probably not what you're asking about) If you're wanting to set both the player and an NPC, you'll need to add more commands to the substitution, but it'd be pretty simple. (Just follow the examples there, the ones that look like args[1].gsub!(/\\hes/i,_INTL("{1}'s",$player.they.downcase))) You could create a new global variable like $rival and save a trainer there to refer to its .they .them, etc., or you could just make it substitute a global variable like with the rival's name. If you want to use it to set multiple NPC pronouns, you'd probably get into a bit more trouble, since you'd need a unique command for each one.
 

Zia222

Ivory Games
Member
Joined
Nov 4, 2023
Posts
11
Hey you still around? I'm also trying to initialize the player either based on if they chose male/female/nb or just a flat they/them until they go to the PC to change pronouns cause the game crashes if I hit enter early when pronouns are blank.

image.png

image.png

image.png
image.png

image.png

Not really sure where to go from this point.

I did try using pbPronouns during char creation but... the thing went a little crazy
image.png

image.png

image.png

Also, I'm using v21.1, which probably changes something.

Otherwise, this does work pretty well.
 
Back
Top