update stock props
This commit is contained in:
parent
fe40fd32ab
commit
98590f63e7
18 changed files with 898 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue