About this mod
BetterEventsCore adds new commands for events! Mechanics for partial clothing removal! Sound playback during speak/message! Adding time!
- Requirements
- Permissions and credits
- Donations
Here are some of the commands you can use (For Events):
removeClothes [all/bottom/top]: Undresses the farmer.
saveClothes <slotName>: Saves the farmer's current outfit to a slot with the specified name. Useful for restoring specific outfits later.
restoreClothes <slotName>: Restores the farmer's outfit from the specified slot.
loopSound <soundName> <delay> [repeatCount]: Plays a sound repeatedly with a specified delay between repetitions. The optional repeatCount determines how many times the sound is played.
loopSoundStop <soundName>: Stops a repeating sound.
advShake <targetName> <amplitudeX> <delayX> <amplitudeY> <delayY>: Animates a character by shaking them horizontally and vertically. Replace targetName with either "farmer" or the name of an NPC in the event.
advShakeStop <targetName>: Stops the shaking animation for the specified target.
timeSkip <timeToAdd>: Adds a specified number of time to the current in-game time. (This can be used to simulate time passing during an event or to trigger time-dependent actions.)
OMG:
loopSound This command can be used to play sounds during speak or message commands for layered sound effects.
Example:
For sound in speak:
/loopSound gulp 35
/loopSound slimeHit 80
/pause 2000
/speak Penny \"Gulp... M-m-ph... Gulp...\"
/loopSoundStop gulp
/loopSoundStop slimeHit
Example Usage dress/undress:
message \"The farmer is taking off his shirt...\"
/saveClothes standart
/removeClothes top
/saveClothes withpants
/message \"The farmer is taking off his pants...\"
/removeClothes bottom
/message \"The farmer is putting on his pants...\"
/restoreClothes withpants
/message \"The farmer is putting on his shirt...\"
/restoreClothes standart
OR:
message "The farmer is undressing..."
/removeClothes all