update stock props

This commit is contained in:
Evan Carroll 2026-01-23 20:36:03 -06:00
parent fe40fd32ab
commit 98590f63e7
18 changed files with 898 additions and 1 deletions

View file

@ -429,6 +429,16 @@
<h3>Good Pol</h3>
<div class="prop-items" id="goodpol-props" role="group" aria-label="Good Pol props"></div>
</div>
<div class="prop-category">
<h3>Screens</h3>
<div class="prop-items" id="screen-props" role="group" aria-label="Screen props"></div>
</div>
<div class="prop-category">
<h3>Keyboards</h3>
<div class="prop-items" id="keyboard-props" role="group" aria-label="Keyboard props"></div>
</div>
</div>
</section>
@ -548,7 +558,9 @@
soda: ['cola', 'lemonlime', 'orange', 'grape', 'rootbeer'],
tea: ['iced', 'pot', 'cup', 'cup-empty', 'bag'],
misc: ['iou', 'signed-dollar', 'thankyou', 'yousuck'],
goodpol: ['cccp', 'china', 'palestine']
goodpol: ['cccp', 'china', 'palestine'],
screen: ['projector', 'projector-with-stand'],
keyboard: ['media']
};
// Flags
@ -638,6 +650,8 @@
const teaContainer = document.getElementById('tea-props');
const miscContainer = document.getElementById('misc-props');
const goodpolContainer = document.getElementById('goodpol-props');
const screenContainer = document.getElementById('screen-props');
const keyboardContainer = document.getElementById('keyboard-props');
for (const name of props.hookah) {
await loadPropPreview('hookah', name, hookahContainer);
@ -657,6 +671,12 @@
for (const name of props.goodpol) {
await loadPropPreview('goodpol', name, goodpolContainer);
}
for (const name of props.screen) {
await loadPropPreview('screen', name, screenContainer);
}
for (const name of props.keyboard) {
await loadPropPreview('keyboard', name, keyboardContainer);
}
// Select first prop by default
const firstCard = document.querySelector('#props-tab .prop-card');