New robot stuff
All checks were successful
Release Creation / build (release) Successful in 1m15s

This commit is contained in:
2025-10-15 15:27:58 +02:00
parent 941db9436f
commit e65f0a1670
43 changed files with 2125 additions and 265 deletions

View File

@@ -1,109 +1,258 @@
<section class="character-main character-main-{{ifThen isPlayMode 'play' 'edit'}}">
<section
class="character-main character-main-{{ifThen isPlayMode 'play' 'edit'}}"
>
{{!log "character-main" this}}
<fieldset>
<legend>{{localize "FTLNOMAD.Label.character"}}</legend>
<div class="character-pc character-pc-{{ifThen isPlayMode 'play' 'edit'}}">
<div class="character-left">
<div class="character-left-image">
<img class="character-img" src="{{actor.img}}" data-edit="img" data-action="editImage"
data-tooltip="{{actor.name}}" />
<img
class="character-img"
src="{{actor.img}}"
data-edit="img"
data-action="editImage"
data-tooltip="{{actor.name}}"
/>
</div>
<fieldset class="character-hp">
<legend>{{localize "FTLNOMAD.Label.Stamina"}}</legend>
<div class="flexrow">
{{formField systemFields.health.fields.staminaValue value=system.health.staminaValue}}
{{formField systemFields.health.fields.staminaMax value=system.health.staminaMax rootId=partId disabled=true}}
{{formField
systemFields.health.fields.staminaValue
value=system.health.staminaValue
}}
{{formField
systemFields.health.fields.staminaMax
value=system.health.staminaMax
rootId=partId
disabled=true
}}
</div>
<div class="flexrow">
{{formField systemFields.health.fields.wounds value=system.health.wounds }}
{{formField
systemFields.health.fields.wounds
value=system.health.wounds
}}
</div>
</fieldset>
</div>
<div class="character-right">
<div class="character-name">
{{formInput fields.name value=source.name rootId=partId disabled=isPlayMode}}
<a class="control" data-action="toggleSheet" data-tooltip="FTLNOMAD.ToggleSheet" data-tooltip-direction="UP">
{{formInput
fields.name
value=source.name
rootId=partId
disabled=isPlayMode
}}
<a
class="control"
data-action="toggleSheet"
data-tooltip="FTLNOMAD.ToggleSheet"
data-tooltip-direction="UP"
>
<i class="fa-solid fa-user-{{ifThen isPlayMode 'lock' 'pen'}}"></i>
</a>
</div>
<fieldset class="character-spec">
{{formField systemFields.concept value=system.concept rootId=partId disabled=isPlayMode}}
{{formField systemFields.species value=system.species rootId=partId disabled=isPlayMode}}
{{formField systemFields.archetype value=system.archetype rootId=partId disabled=isPlayMode}}
{{formField
systemFields.concept
value=system.concept
rootId=partId
disabled=isPlayMode
}}
{{formField
systemFields.species
value=system.species
rootId=partId
disabled=isPlayMode
}}
{{formField
systemFields.archetype
value=system.archetype
rootId=partId
disabled=isPlayMode
}}
<div class="hero-armor">
{{formField systemFields.heroPoints value=system.heroPoints rootId=partId }}
{{formField systemFields.armor.fields.value value=system.armor.value rootId=partId disabled=isPlayMode}}
{{formField
systemFields.heroPoints
value=system.heroPoints
rootId=partId
}}
{{formField
systemFields.armor.fields.value
value=system.armor.value
rootId=partId
disabled=isPlayMode
}}
</div>
</fieldset>
<fieldset class="encumbrance">
{{#if isEncumbered}}
{{formField systemFields.enc.fields.value value=system.enc.value rootId=partId disabled=true classes="encumbered"}}
{{else }}
{{formField systemFields.enc.fields.value value=system.enc.value rootId=partId disabled=true}}
{{/if}}
{{formField systemFields.enc.fields.max value=system.enc.max rootId=partId disabled=isPlayMode}}
{{formField systemFields.credits value=system.credits rootId=partId }}
</fieldset>
{{#if isEncumbered}}
{{formField
systemFields.enc.fields.value
value=system.enc.value
rootId=partId
disabled=true
classes="encumbered"
}}
{{else}}
{{formField
systemFields.enc.fields.value
value=system.enc.value
rootId=partId
disabled=true
}}
{{/if}}
{{formField
systemFields.enc.fields.max
value=system.enc.max
rootId=partId
disabled=isPlayMode
}}
{{formField systemFields.credits value=system.credits rootId=partId}}
</fieldset>
</div>
</div>
</fieldset>
<fieldset class="character-skills character-skills-{{ifThen isPlayMode 'play' 'edit'}}">
<fieldset
class="character-skills character-skills-{{ifThen
isPlayMode
'play'
'edit'
}}"
>
<legend>{{localize "FTLNOMAD.Label.skills"}}</legend>
<div class="character-skill">
<img src="systems/fvtt-ftl-nomad/assets/icons/icon_combat.svg" class="icon-skill" />
<label class="rollable" data-roll-type="skill" data-skill-id="combat">{{localize
"FTLNOMAD.Label.combat"}}</label>
{{formInput systemFields.skills.fields.combat.fields.value value=system.skills.combat.value rootId=partId disabled=isPlayMode type="number" }}
<img
src="systems/fvtt-ftl-nomad/assets/icons/icon_combat.svg"
class="icon-skill"
/>
<label
class="rollable"
data-roll-type="skill"
data-skill-id="combat"
>{{localize "FTLNOMAD.Label.combat"}}</label>
{{formInput
systemFields.skills.fields.combat.fields.value
value=system.skills.combat.value
rootId=partId
disabled=isPlayMode
type="number"
}}
</div>
<div class="character-skill">
<img src="systems/fvtt-ftl-nomad/assets/icons/icon_knowledge.svg" class="icon-skill" />
<label class="rollable" data-roll-type="skill" data-skill-id="knowledge">{{localize
"FTLNOMAD.Label.knowledge"}}</label>
{{formInput systemFields.skills.fields.knowledge.fields.value value=system.skills.knowledge.value
rootId=partId disabled=isPlayMode type="number"}}
<img
src="systems/fvtt-ftl-nomad/assets/icons/icon_knowledge.svg"
class="icon-skill"
/>
<label
class="rollable"
data-roll-type="skill"
data-skill-id="knowledge"
>{{localize "FTLNOMAD.Label.knowledge"}}</label>
{{formInput
systemFields.skills.fields.knowledge.fields.value
value=system.skills.knowledge.value
rootId=partId
disabled=isPlayMode
type="number"
}}
</div>
<div class="character-skill">
<img src="systems/fvtt-ftl-nomad/assets/icons/icon_social.svg" class="icon-skill" />
<label class="rollable" data-roll-type="skill" data-skill-id="social">{{localize
"FTLNOMAD.Label.social"}}</label>
{{formInput systemFields.skills.fields.social.fields.value value=system.skills.social.value
rootId=partId disabled=isPlayMode type="number"}}
<img
src="systems/fvtt-ftl-nomad/assets/icons/icon_social.svg"
class="icon-skill"
/>
<label
class="rollable"
data-roll-type="skill"
data-skill-id="social"
>{{localize "FTLNOMAD.Label.social"}}</label>
{{formInput
systemFields.skills.fields.social.fields.value
value=system.skills.social.value
rootId=partId
disabled=isPlayMode
type="number"
}}
</div>
<div class="character-skill">
<img src="systems/fvtt-ftl-nomad/assets/icons/icon_physical.svg" class="icon-skill" />
<label class="rollable" data-roll-type="skill" data-skill-id="physical">{{localize
"FTLNOMAD.Label.physical"}}</label>
{{formInput systemFields.skills.fields.physical.fields.value value=system.skills.physical.value
rootId=partId disabled=isPlayMode type="number"}}
<img
src="systems/fvtt-ftl-nomad/assets/icons/icon_physical.svg"
class="icon-skill"
/>
<label
class="rollable"
data-roll-type="skill"
data-skill-id="physical"
>{{localize "FTLNOMAD.Label.physical"}}</label>
{{formInput
systemFields.skills.fields.physical.fields.value
value=system.skills.physical.value
rootId=partId
disabled=isPlayMode
type="number"
}}
</div>
<div class="character-skill">
<img src="systems/fvtt-ftl-nomad/assets/icons/icon_stealth.svg" class="icon-skill" />
<label class="rollable" data-roll-type="skill" data-skill-id="stealth">{{localize
"FTLNOMAD.Label.stealth"}}</label>
{{formInput systemFields.skills.fields.stealth.fields.value value=system.skills.stealth.value
rootId=partId disabled=isPlayMode type="number"}}
<img
src="systems/fvtt-ftl-nomad/assets/icons/icon_stealth.svg"
class="icon-skill"
/>
<label
class="rollable"
data-roll-type="skill"
data-skill-id="stealth"
>{{localize "FTLNOMAD.Label.stealth"}}</label>
{{formInput
systemFields.skills.fields.stealth.fields.value
value=system.skills.stealth.value
rootId=partId
disabled=isPlayMode
type="number"
}}
</div>
<div class="character-skill">
<img src="systems/fvtt-ftl-nomad/assets/icons/icon_vehicles.svg" class="icon-skill" />
<label class="rollable" data-roll-type="skill" data-skill-id="vehicles">{{localize
"FTLNOMAD.Label.vehicles"}}</label>
{{formInput systemFields.skills.fields.vehicles.fields.value value=system.skills.vehicles.value
rootId=partId disabled=isPlayMode type="number"}}
<img
src="systems/fvtt-ftl-nomad/assets/icons/icon_vehicles.svg"
class="icon-skill"
/>
<label
class="rollable"
data-roll-type="skill"
data-skill-id="vehicles"
>{{localize "FTLNOMAD.Label.vehicles"}}</label>
{{formInput
systemFields.skills.fields.vehicles.fields.value
value=system.skills.vehicles.value
rootId=partId
disabled=isPlayMode
type="number"
}}
</div>
<div class="character-skill">
<img src="systems/fvtt-ftl-nomad/assets/icons/icon_technology.svg" class="icon-skill" />
<label class="rollable" data-roll-type="skill" data-skill-id="technology">{{localize
"FTLNOMAD.Label.technology"}}</label>
{{formInput systemFields.skills.fields.technology.fields.value value=system.skills.technology.value
rootId=partId disabled=isPlayMode type="number"}}
<img
src="systems/fvtt-ftl-nomad/assets/icons/icon_technology.svg"
class="icon-skill"
/>
<label
class="rollable"
data-roll-type="skill"
data-skill-id="technology"
>{{localize "FTLNOMAD.Label.technology"}}</label>
{{formInput
systemFields.skills.fields.technology.fields.value
value=system.skills.technology.value
rootId=partId
disabled=isPlayMode
type="number"
}}
</div>
</fieldset>
</section>