-
Notifications
You must be signed in to change notification settings - Fork 3
Creating Content ‐ NPCs
Flan edited this page Apr 8, 2024
·
1 revision
Breakdown coming soon, this is an example file:
{
"voiceLines": [
{
"type": "Hello",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_greeting_neutral",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "Hello",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_greeting_neutral",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "HelloUnhappy",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_greeting_hostile",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "HelloHappy",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_greeting_friendly",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "Chat",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_chat_neutral",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "Chat",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_chat_neutral",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "BoughtFromPlayer",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_buy_from_player",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "BoughtFromPlayer",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_buy_from_player",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "SoldToPlayer",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_sell_to_player",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "SoldToPlayer",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_sell_to_player",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "Goodbye",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_goodbye",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "Goodbye",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_goodbye",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "Hurt",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_hurt",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
},
{
"type": "Hurt",
"unlocalisedString": "npc.unknown.chat",
"audioClip": {
"sound": "flansvendersgame:vender_hurt",
"length": 2.0,
"minPitchMultiplier": 1.0,
"maxPitchMultiplier": 1.0,
"minVolume": 1.0,
"maxVolume": 1.0,
"maxRange": 50.0,
"LODs": []
}
}
],
"hat": {
"item": "minecraft:air",
"count": 1,
"damage": 0,
"tags": "{}"
},
"chest": {
"item": "minecraft:air",
"count": 1,
"damage": 0,
"tags": "{}"
},
"legs": {
"item": "minecraft:air",
"count": 1,
"damage": 0,
"tags": "{}"
},
"shoes": {
"item": "minecraft:air",
"count": 1,
"damage": 0,
"tags": "{}"
},
"mainHand": {
"item": "minecraft:air",
"count": 1,
"damage": 0,
"tags": "{}"
},
"offHand": {
"item": "minecraft:air",
"count": 1,
"damage": 0,
"tags": "{}"
},
"validActions": [
"Neutral_Idle",
"Neutral_Wander",
"Neutral_LookAtPlayer",
"Neutral_LookAtMobs",
"Neutral_LookAtAnimals",
"Friendly_ShowItemForSale",
"Friendly_ChatToPlayer",
"Hostile_TeleportAway"
],
"isRightHanded": true,
"cooldownSecondsFriendly": 120.0,
"cooldownSecondsHostile": 300.0,
"invulnerabilities": [
"Misc",
"Melee",
"Ranged",
"Magic",
"Bullet",
"Fire",
"Explosion",
"Poison",
"Wither",
"Fall",
"Harming"
],
"maxMerchantLevel": 5,
"xpPerMerchantLevel": [
15,
45,
120,
300,
700
],
"minOffersToGive": 1,
"maxOffersToGive": 5,
"offers": [
{
"weighting": 1.0,
"merchantLevel": 1,
"inputs": [
{
"item": "minecraft:emerald",
"count": 31,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:hm_9",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 10,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 1.0,
"merchantLevel": 1,
"inputs": [
{
"item": "minecraft:emerald",
"count": 44,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:hm_1200",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 10,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 1.0,
"merchantLevel": 1,
"inputs": [
{
"item": "minecraft:emerald",
"count": 43,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:hm_14",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 10,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 1.0,
"merchantLevel": 1,
"inputs": [
{
"item": "minecraft:emerald",
"count": 35,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:hm_16",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 10,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 1.0,
"merchantLevel": 1,
"inputs": [
{
"item": "minecraft:emerald",
"count": 42,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:hm_combine",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 10,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 1.0,
"merchantLevel": 1,
"inputs": [
{
"item": "minecraft:emerald",
"count": 63,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:hm_krank",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 10,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 1.0,
"merchantLevel": 1,
"inputs": [
{
"item": "minecraft:emerald",
"count": 36,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:hm_pocket",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 10,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.75,
"merchantLevel": 2,
"inputs": [
{
"item": "minecraft:diamond",
"count": 25,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:phantek_90",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 25,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.75,
"merchantLevel": 2,
"inputs": [
{
"item": "minecraft:diamond",
"count": 32,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:phantek_auto_12",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 25,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.75,
"merchantLevel": 2,
"inputs": [
{
"item": "minecraft:diamond",
"count": 33,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:phantek_battlemage",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 25,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.75,
"merchantLevel": 2,
"inputs": [
{
"item": "minecraft:diamond",
"count": 52,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:phantek_eye",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 25,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.75,
"merchantLevel": 2,
"inputs": [
{
"item": "minecraft:diamond",
"count": 41,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:phantek_fury",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 25,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.75,
"merchantLevel": 2,
"inputs": [
{
"item": "minecraft:diamond",
"count": 17,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:phantek_lock",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 25,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.75,
"merchantLevel": 2,
"inputs": [
{
"item": "minecraft:diamond",
"count": 46,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:phantek_seeker",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 25,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.6,
"merchantLevel": 3,
"inputs": [
{
"item": "minecraft:nautilus_shell",
"count": 13,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:fc_49",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 50,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.6,
"merchantLevel": 3,
"inputs": [
{
"item": "minecraft:nautilus_shell",
"count": 17,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:fc_56",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 50,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.6,
"merchantLevel": 3,
"inputs": [
{
"item": "minecraft:nautilus_shell",
"count": 21,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:fc_700",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 50,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.6,
"merchantLevel": 3,
"inputs": [
{
"item": "minecraft:nautilus_shell",
"count": 13,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:fc_870",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 50,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.6,
"merchantLevel": 3,
"inputs": [
{
"item": "minecraft:nautilus_shell",
"count": 15,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:fc_hawk",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 50,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.6,
"merchantLevel": 3,
"inputs": [
{
"item": "minecraft:nautilus_shell",
"count": 31,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:fc_puncher",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 1,
"merchantXP": 50,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 4.0,
"merchantLevel": 1,
"inputs": [
{
"item": "minecraft:emerald",
"count": 2,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansbasicparts:pistol_bullet",
"count": 64,
"damage": 0,
"tags": ""
},
"maxUses": 8,
"merchantXP": 2,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 3.0,
"merchantLevel": 1,
"inputs": [
{
"item": "minecraft:emerald",
"count": 5,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansbasicparts:rifle_bullet",
"count": 64,
"damage": 0,
"tags": ""
},
"maxUses": 8,
"merchantXP": 2,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 2.0,
"merchantLevel": 1,
"inputs": [
{
"item": "minecraft:emerald",
"count": 2,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansbasicparts:shotgun_shell_buckshot",
"count": 16,
"damage": 0,
"tags": ""
},
"maxUses": 16,
"merchantXP": 2,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 2.0,
"merchantLevel": 1,
"inputs": [
{
"item": "minecraft:emerald",
"count": 2,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansbasicparts:shotgun_shell_birdshot",
"count": 16,
"damage": 0,
"tags": ""
},
"maxUses": 16,
"merchantXP": 2,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.5,
"merchantLevel": 2,
"inputs": [
{
"item": "minecraft:emerald",
"count": 15,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansbasicparts:projectile_grenade_impact",
"count": 3,
"damage": 0,
"tags": ""
},
"maxUses": 8,
"merchantXP": 15,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.25,
"merchantLevel": 3,
"inputs": [
{
"item": "minecraft:emerald",
"count": 8,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansbasicparts:artillery_shell",
"count": 1,
"damage": 0,
"tags": ""
},
"maxUses": 4,
"merchantXP": 2,
"priceMultiplier": 1.0,
"demand": 0
},
{
"weighting": 0.1,
"merchantLevel": 1,
"inputs": [
{
"item": "minecraft:totem_of_undying",
"count": 1,
"damage": 0,
"tags": "{}"
}
],
"output": {
"item": "flansvendersgame:venders_customs_viper",
"count": 1,
"damage": 0,
"tags": "{}"
},
"maxUses": 1,
"merchantXP": 200,
"priceMultiplier": 1.0,
"demand": 0
}
]
}
Flan's Mod: Reloaded | Basic Parts Pack | Vender's Game | Create: Love & War |
---|---|---|---|
Getting Started Wiki | Content Wiki | Content Wiki | Content Wiki |
On CurseForge | On CurseForge | On CurseForge | On CurseForge |
![]() |
![]() |
![]() |
![]() |
Basics - Setup | Import 1.12.2 | New Pack | New Definition
Definitions - Attachments | Bullets | Guns | Magazines | Materials | NPCs | Parts | Traits
Appendix - Modifiers | Recipes
Getting Started
Basic Parts Content
Vender's Game Content
Create: Love & War Content
Content Tool Home
Content Tool Setup
Import 1.12.2 (FM: Legacy) Pack
Create New Pack
Create New Definition
Basics
Attachments
Bullets
Guns
Magazines
Materials
NPCs
Parts
Recipes
Traits
Workbenches