Bunch of changes, adding functionality requested.

- Added bunch of achievements for democracy
- Added currency exchanges
- Made voting algorithm more efficient
- Added standard meeting hall functionality to the datapack
This commit is contained in:
2021-08-06 01:05:38 +02:00
parent 02ca44bb99
commit aff958e612
22 changed files with 273 additions and 7 deletions

View File

@@ -0,0 +1,28 @@
{
"display": {
"title": {
"text": "I have an idea...",
"color": "dark_green",
"bold": false,
"italic": true,
"underlined": false
},
"description": {
"text": "Interrupt a meeting at the microphone",
"color": "dark_green"
},
"icon": {
"item": "minecraft:lever"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": false
},
"criteria": {
"meetinginterrupt": {
"trigger": "minecraft:impossible"
}
},
"parent": "craftytable:joinmeeting"
}

View File

@@ -0,0 +1,26 @@
{
"display": {
"title": {
"text": "No stupid suggestions!",
"color": "dark_red",
"bold": true,
"underlined": true
},
"description": {
"text": "Get smitten at the interruption microphone"
},
"icon": {
"item": "minecraft:barrier"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": true
},
"criteria": {
"meetingsmitten": {
"trigger": "minecraft:impossible"
}
},
"parent": "craftytable:interrupt"
}

View File

@@ -0,0 +1,24 @@
{
"display": {
"title": {
"text": "Democracy!"
},
"description": {
"text": "Join a meeting! Saturdays at 8 PM BST.",
"color": "dark_green"
},
"icon": {
"item": "minecraft:paper"
},
"frame": "goal",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"meetingjoin": {
"trigger": "minecraft:impossible"
}
},
"parent": "craftytable:root"
}

View File

@@ -0,0 +1,28 @@
{
"display": {
"title": {
"text": "Adjourned!",
"color": "gold"
},
"description": {
"text": "Reach the end of a meeting",
"color": "dark_green"
},
"icon": {
"item": "minecraft:iron_axe"
},
"frame": "goal",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"meetingend": {
"trigger": "minecraft:impossible"
}
},
"rewards": {
"experience": 20
},
"parent": "craftytable:vote"
}

View File

@@ -0,0 +1,27 @@
{
"display": {
"title": {
"text": "Embrace order!",
"color": "dark_green"
},
"description": {
"text": "Your meeting is called to order"
},
"icon": {
"item": "minecraft:anvil"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": false
},
"criteria": {
"meetingorder": {
"trigger": "minecraft:impossible"
}
},
"rewards": {
"experience": 1
},
"parent": "craftytable:joinmeeting"
}

View File

@@ -0,0 +1,41 @@
{
"display": {
"title": {
"text": "The Crafty Table",
"color": "dark_green",
"bold": false
},
"description": {
"text": "A server with many secrets!"
},
"icon": {
"item": "minecraft:crafting_table"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": false,
"background": "minecraft:textures/gui/advancements/backgrounds/stone.png"
},
"criteria": {
"spawnloc": {
"trigger": "minecraft:location",
"conditions": {
"position": {
"x": {
"min": -2,
"max": 2
},
"y": {
"min": 72,
"max": 78
},
"z": {
"min": 78,
"max": 82
}
}
}
}
}
}

View File

@@ -0,0 +1,28 @@
{
"display": {
"title": {
"text": "Participate in a vote",
"color": "gold"
},
"description": {
"text": "Vote using the VoteBook during a meeting"
},
"icon": {
"item": "minecraft:written_book"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": false,
"hidden": false
},
"criteria": {
"meetingvote": {
"trigger": "minecraft:impossible"
}
},
"rewards": {
"experience": 5,
"function": "tctvote:ivoted"
},
"parent": "craftytable:joinmeeting"
}