Merge pull request #89 from AsdarDevelops/Asdar

testing form changes
This commit is contained in:
Asdar 2024-07-15 20:27:19 +02:00 committed by GitHub
commit c61f718b85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 170 additions and 0 deletions

View File

@ -0,0 +1,170 @@
name: Mystery Event Test
description: Don't use this one
title: "[Event] "
labels: ["event proposal", "balance review"]
projects: ["AsdarDevelops/1"]
body:
- type: input
id: name
attributes:
label: Event Name
description: Name of the event
placeholder: e.g "Fight or Flight"
validations:
required: true
- type: markdown # SEPARATOR
attributes:
value: |
---
- type: dropdown
id: rarity
attributes:
label: Rarity Tier
multiple: false
options:
- Common
- Great
- Ultra
- Rogue
- Other or unsure (please specify)
validations:
required: true
- type: input
id: other_rarity_specify
attributes:
label: Please specify other rarity
visible: false # Initially hidden
validations:
required: true
- type: script
content: |
document.getElementById('rarity').addEventListener('change', function() {
var otherInput = document.getElementById('other_rarity_specify');
if (this.value === 'Other or unsure (please specify)') {
otherInput.style.display = 'block';
} else {
otherInput.style.display = 'none';
}
});
- type: markdown # SEPARATOR
attributes:
value: |
---
- type: input
id: waves
attributes:
label: Waves
description: Classic/Challenge is 1 -200. Currently only 11-179 is supported.
placeholder: 1-200
validations:
required: true
- type: markdown # SEPARATOR
attributes:
value: |
---
- type: textarea
id: description
attributes:
label: Description
description: Describe the event you are proposing
placeholder: What is it?
validations:
required: true
- type: markdown # SEPARATOR
attributes:
value: |
---
- type: dropdown
id: biomes
attributes:
label: Biomes
description: Select all biomes where the event can occur
multiple: true
options:
- ANY (no need to select all)
- NON-EXTREME (almost all except Space, Seabed, etc...)
- TOWN
- PLAINS
- GRASS
- TALL_GRASS
- METROPOLIS
- FOREST
- SEA
- SWAMP
- BEACH
- LAKE
- SEABED
- MOUNTAIN
- BADLANDS
- CAVE
- DESERT
- ICE_CAVE
- MEADOW
- POWER_PLANT
- VOLCANO
- GRAVEYARD
- DOJO
- FACTORY
- RUINS
- WASTELAND
- ABYSS
- SPACE
- CONSTRUCTION_SITE
- JUNGLE
- FAIRY_CAVE
- TEMPLE
- SLUM
- SNOWY_FOREST
- ISLAND
- LABORATORY
- END
- OTHER (please specify)
validations:
required: true
- type: markdown # SEPARATOR
attributes:
value: |
---
- type: textarea
id: options
attributes:
label: Options offered to the player
description: A maximum of four options can be displayed at a time
placeholder: Remember that only up to four options can be displayed at a time
value: |
- [ ] OPTION-1 Label
- _OPTION-1 description._
- [ ] OPTION-2 Label
- _OPTION-2 description._
- [ ] OPTION-3 Label
- _OPTION-3 description._
- [ ] OPTION-4 Label
- _OPTION-4 description._
validations:
required: true
- type: markdown # SEPARATOR
attributes:
value: |
---
- type: textarea
id: design-notes
attributes:
label: Explanation/Notes on Design
description: Explain why you think this design is right and what this Event brings to the table
placeholder: Explain why you think this design is right and what this Event brings to the table
validations:
required: true
- type: markdown # SEPARATOR
attributes:
value: |
---
- type: textarea
id: dev-notes
attributes:
label: Notes to Developers
placeholder: If necessary
validations:
required: false