Jump to content

Edit History

Please note that revisions older than 365 days are pruned and will no longer show here
Rizzano

Rizzano


fixed a naming error

Quote

<xui>
    
    <append xpath="/xui" >
    
    <ruleset name="default" scale="1.255" stackpanel_scale="1.05">
    <window_group name="workstation_scholarDeskFap" controller="XUiC_WorkstationWindowGroup">
        <window name="windowCraftingList"/>
        <window name="craftingInfoPanel"/>
        <window name="windowCraftingQueue"/>
        <window name="windowToolsScholarDeskFap" />
        <window name="windowOutput" />
        <window name="windowNonPagingHeader" />
    </window_group>
    </ruleset>
    </append>
    
</xui>

 

When I have the ruleset in, it tells me workstation_scholarDeskFap is not set to an instance of an object.  When I don't have the ruleset I can load in fine, place the desk, it says press E but nothing happens.

 

Quote

<block name="scholarDeskFap">
    <property name="Class" value="Workstation"/>
    <property class="Workstation">
        <property name="Modules" value="tools,output"/>
    </property>
    <property name="CreativeMode" value="Player"/>
    <property name="DescriptionKey" value="scholarDeskFaphDesc"/>
    <property name="DisplayType" value="blockMulti"/>
    <property name="WorkstationIcon" value="ui_game_symbol_workbench"/>
    <property name="WorkstationJournalTip" value="scholarDeskFapTip"/>
    <property name="Stacknumber" value="1"/>
    <property name="Material" value="Mmetal"/>
    <property name="Shape" value="ModelEntity"/>
    <property name="Model" value="@:Entities/LootContainers/deskMetalFullPrefab.prefab"/>
    <property name="Path" value="solid"/>
    <property name="ModelOffset" value="0,.5,0"/>
    <property name="MultiBlockDim" value="2,2,1"/>
    <property name="ImposterDontBlock" value="true"/>
    <property name="WaterFlow" value="permitted"/>
    <property name="CustomIcon" value="scholarDeskFap"/>
    <property name="Place" value="TowardsPlacerInverted"/>
    <property name="OnlySimpleRotations" value="true"/>
    <property name="IsTerrainDecoration" value="true"/>
    <property name="StabilitySupport" value="false"/>
    <property name="Weight" value="0"/>
    <property name="EconomicValue" value="1000"/>
    <property name="TraderStageTemplate" value="midTier1"/>
    <property name="MaxDamage" value="800"/>
    <property name="HeatMapStrength" value="0.5"/>
    <property name="HeatMapTime" value="1200"/>
    <property name="HeatMapFrequency" value="25"/>
    <property name="OpenSound" value="open_workbench"/>
    <property name="CloseSound" value="close_workbench"/>
    <property name="TakeDelay" value="5"/>
    <property class="RepairItems">
        <property name="resourceForgedIron" value="25"/>
        <property name="resourceMechanicalParts" value="20"/>
        <property name="resourceDuctTape" value="25"/>
    </property>
    <drop event="Harvest" name="resourceForgedIron" count="5" tag="allHarvest"/>
    <drop event="Harvest" name="resourceForgedIron" count="5" tag="salvageHarvest"/>
    <drop event="Harvest" name="resourceMechanicalParts" count="8" tag="salvageHarvest"/>
    <drop event="Destroy" count="0"/>
    <drop event="Fall" name="terrDestroyedWoodDebris" count="1" prob="0.75" stick_chance="1"/>
    <property name="SortOrder1" value="B281"/>
    <property name="SortOrder2" value="0300"/>
    <property name="Group" value="Basics,Science"/>
    <property name="FilterTags" value="MC_playerBlocks,SC_decor"/>
</block>

The above is appended in my blocks. The scholarDeskFap uses an existing desk model in the game.

 

Quote

<windows>
    
    <append xpath="/windows" >
    
<window name="windowToolsScholarDeskFap" width="228" height="121" panel="Right" cursor_area="true" >
    <panel style="header.panel">            
        <sprite style="header.icon" sprite="ui_game_symbol_pen"/>
        <label style="header.name" text="TOOLS" text_key="xuiTools" />
    </panel>

        <rect name="content" depth="0" pos="0,-46" height="75" disablefallthrough="true" on_press="true">

        <grid name="inventory" rows="1" cols="1" pos="3,-3" cell_width="75" cell_height="75" controller="WorkstationToolGrid" repeat_content="true" allow_sort_order="false" required_tools="scholarPenFap" required_tools_only="true">
            <required_item_stack name="0"/>
        </grid>        

        
    </rect>
</window>
    
    </append>
    
</windows>

I have this in my windows.xml. Do I need this? 

Any help is appreciated

Rizzano

Rizzano


fixed a naming error

Quote

<xui>
    
    <append xpath="/xui" >
    
    <ruleset name="default" scale="1.255" stackpanel_scale="1.05">
    <window_group name="workstation_scholarDeskFap" controller="XUiC_WorkstationWindowGroup">
        <window name="windowCraftingList"/>
        <window name="craftingInfoPanel"/>
        <window name="windowCraftingQueue"/>
        <window name="windowToolsScholarDeskFap" />
        <window name="windowOutput" />
        <window name="windowNonPagingHeader" />
    </window_group>
    </ruleset>
    </append>
    
</xui>

 

When I have the ruleset in, it tells me workstation_scholarDeskFap is not set to an instance of an object.  When I don't have the ruleset I can load in fine, place the desk, it says press E but nothing happens.

 

Quote

<block name="scholarDeskFap">
    <property name="Class" value="Workstation"/>
    <property class="Workstation">
        <property name="Modules" value="tools,output"/>
    </property>
    <property name="CreativeMode" value="Player"/>
    <property name="DescriptionKey" value="scholarDeskFaphDesc"/>
    <property name="DisplayType" value="blockMulti"/>
    <property name="WorkstationIcon" value="ui_game_symbol_workbench"/>
    <property name="WorkstationJournalTip" value="scholarDeskFapTip"/>
    <property name="Stacknumber" value="1"/>
    <property name="Material" value="Mmetal"/>
    <property name="Shape" value="ModelEntity"/>
    <property name="Model" value="@:Entities/LootContainers/deskMetalFullPrefab.prefab"/>
    <property name="Path" value="solid"/>
    <property name="ModelOffset" value="0,.5,0"/>
    <property name="MultiBlockDim" value="2,2,1"/>
    <property name="ImposterDontBlock" value="true"/>
    <property name="WaterFlow" value="permitted"/>
    <property name="CustomIcon" value="scholarDeskFap"/>
    <property name="Place" value="TowardsPlacerInverted"/>
    <property name="OnlySimpleRotations" value="true"/>
    <property name="IsTerrainDecoration" value="true"/>
    <property name="StabilitySupport" value="false"/>
    <property name="Weight" value="0"/>
    <property name="EconomicValue" value="1000"/>
    <property name="TraderStageTemplate" value="midTier1"/>
    <property name="MaxDamage" value="800"/>
    <property name="HeatMapStrength" value="0.5"/>
    <property name="HeatMapTime" value="1200"/>
    <property name="HeatMapFrequency" value="25"/>
    <property name="OpenSound" value="open_workbench"/>
    <property name="CloseSound" value="close_workbench"/>
    <property name="TakeDelay" value="5"/>
    <property class="RepairItems">
        <property name="resourceForgedIron" value="25"/>
        <property name="resourceMechanicalParts" value="20"/>
        <property name="resourceDuctTape" value="25"/>
    </property>
    <drop event="Harvest" name="resourceForgedIron" count="5" tag="allHarvest"/>
    <drop event="Harvest" name="resourceForgedIron" count="5" tag="salvageHarvest"/>
    <drop event="Harvest" name="resourceMechanicalParts" count="8" tag="salvageHarvest"/>
    <drop event="Destroy" count="0"/>
    <drop event="Fall" name="terrDestroyedWoodDebris" count="1" prob="0.75" stick_chance="1"/>
    <property name="SortOrder1" value="B281"/>
    <property name="SortOrder2" value="0300"/>
    <property name="Group" value="Basics,Science"/>
    <property name="FilterTags" value="MC_playerBlocks,SC_decor"/>
</block>

The above is appended in my blocks. The scholarDeskFap uses an existing desk model in the game.

 

Quote

<windows>
    
    <append xpath="/windows" >
    
<window name="windowToolSscholarDeskFap" width="228" height="121" panel="Right" cursor_area="true" >
    <panel style="header.panel">            
        <sprite style="header.icon" sprite="ui_game_symbol_pen"/>
        <label style="header.name" text="TOOLS" text_key="xuiTools" />
    </panel>

        <rect name="content" depth="0" pos="0,-46" height="75" disablefallthrough="true" on_press="true">

        <grid name="inventory" rows="1" cols="1" pos="3,-3" cell_width="75" cell_height="75" controller="WorkstationToolGrid" repeat_content="true" allow_sort_order="false" required_tools="scholarPenFap" required_tools_only="true">
            <required_item_stack name="0"/>
        </grid>        

        
    </rect>
</window>
    
    </append>
    
</windows>

I have this in my windows.xml. Do I need this? 

Any help is appreciated

Rizzano

Rizzano

Quote

<xui>
    
    <append xpath="/xui" >
    
    <ruleset name="default" scale="1.255" stackpanel_scale="1.05">
    <window_group name="workstation_scholarDeskFap" controller="XUiC_WorkstationWindowGroup">
        <window name="windowCraftingList"/>
        <window name="craftingInfoPanel"/>
        <window name="windowCraftingQueue"/>
        <window name="windowToolsScholarDeskFap" />
        <window name="windowOutput" />
        <window name="windowNonPagingHeader" />
    </window_group>
    </ruleset>
    </append>
    
</xui>

 

When I have the ruleset in, it tells me workstation_scholarDeskFap is not set to an instance of an object.  When I don't have the ruleset I can load in fine, place the desk, it says press E but nothing happens.

 

Quote

<block name="scholarDeskFap">
    <property name="Class" value="Workstation"/>
    <property class="Workstation">
        <property name="Modules" value="tools,output"/>
    </property>
    <property name="CreativeMode" value="Player"/>
    <property name="DescriptionKey" value="scholarDeskFaphDesc"/>
    <property name="DisplayType" value="blockMulti"/>
    <property name="WorkstationIcon" value="ui_game_symbol_workbench"/>
    <property name="WorkstationJournalTip" value="scholarDeskFapTip"/>
    <property name="Stacknumber" value="1"/>
    <property name="Material" value="Mmetal"/>
    <property name="Shape" value="ModelEntity"/>
    <property name="Model" value="@:Entities/LootContainers/deskMetalFullPrefab.prefab"/>
    <property name="Path" value="solid"/>
    <property name="ModelOffset" value="0,.5,0"/>
    <property name="MultiBlockDim" value="2,2,1"/>
    <property name="ImposterDontBlock" value="true"/>
    <property name="WaterFlow" value="permitted"/>
    <property name="CustomIcon" value="scholarDeskFap"/>
    <property name="Place" value="TowardsPlacerInverted"/>
    <property name="OnlySimpleRotations" value="true"/>
    <property name="IsTerrainDecoration" value="true"/>
    <property name="StabilitySupport" value="false"/>
    <property name="Weight" value="0"/>
    <property name="EconomicValue" value="1000"/>
    <property name="TraderStageTemplate" value="midTier1"/>
    <property name="MaxDamage" value="800"/>
    <property name="HeatMapStrength" value="0.5"/>
    <property name="HeatMapTime" value="1200"/>
    <property name="HeatMapFrequency" value="25"/>
    <property name="OpenSound" value="open_workbench"/>
    <property name="CloseSound" value="close_workbench"/>
    <property name="TakeDelay" value="5"/>
    <property class="RepairItems">
        <property name="resourceForgedIron" value="25"/>
        <property name="resourceMechanicalParts" value="20"/>
        <property name="resourceDuctTape" value="25"/>
    </property>
    <drop event="Harvest" name="resourceForgedIron" count="5" tag="allHarvest"/>
    <drop event="Harvest" name="resourceForgedIron" count="5" tag="salvageHarvest"/>
    <drop event="Harvest" name="resourceMechanicalParts" count="8" tag="salvageHarvest"/>
    <drop event="Destroy" count="0"/>
    <drop event="Fall" name="terrDestroyedWoodDebris" count="1" prob="0.75" stick_chance="1"/>
    <property name="SortOrder1" value="B281"/>
    <property name="SortOrder2" value="0300"/>
    <property name="Group" value="Basics,Science"/>
    <property name="FilterTags" value="MC_playerBlocks,SC_decor"/>
</block>

The above is appended in my blocks. The scholarDeskFap uses an existing desk model in the game.

 

Quote

<windows>
    
    <append xpath="/windows" >
    
<window name="scholarDeskFap" width="228" height="121" panel="Right" cursor_area="true" >
    <panel style="header.panel">            
        <sprite style="header.icon" sprite="ui_game_symbol_pen"/>
        <label style="header.name" text="TOOLS" text_key="xuiTools" />
    </panel>

        <rect name="content" depth="0" pos="0,-46" height="75" disablefallthrough="true" on_press="true">

        <grid name="inventory" rows="1" cols="1" pos="3,-3" cell_width="75" cell_height="75" controller="WorkstationToolGrid" repeat_content="true" allow_sort_order="false" required_tools="scholarPenFap" required_tools_only="true">
            <required_item_stack name="0"/>
        </grid>        

        
    </rect>
</window>
    
    </append>
    
</windows>

I have this in my windows.xml. Do I need this? 

Any help is appreciated

Rizzano

Rizzano

Quote

<xui>
    
    <append xpath="/xui" >
    
    <ruleset name="default" scale="1.255" stackpanel_scale="1.05">
    <window_group name="workstation_scholarDeskFap" controller="XUiC_WorkstationWindowGroup">
        <window name="windowCraftingList"/>
        <window name="craftingInfoPanel"/>
        <window name="windowCraftingQueue"/>
        <window name="windowToolsScholarDeskFap" />
        <window name="windowOutput" />
        <window name="windowNonPagingHeader" />
    </window_group>
    </ruleset>
    </append>
    
</xui>

 

When I have the ruleset in, it tells me workstation_scholarDeksFap is not set to an instance of an object.  When I don't have the ruleset I can load in fine, place the desk, it says press E but nothing happens.

 

Quote

<block name="scholarDeskFap">
    <property name="Class" value="Workstation"/>
    <property class="Workstation">
        <property name="Modules" value="tools,output"/>
    </property>
    <property name="CreativeMode" value="Player"/>
    <property name="DescriptionKey" value="scholarDeskFaphDesc"/>
    <property name="DisplayType" value="blockMulti"/>
    <property name="WorkstationIcon" value="ui_game_symbol_workbench"/>
    <property name="WorkstationJournalTip" value="scholarDeskFapTip"/>
    <property name="Stacknumber" value="1"/>
    <property name="Material" value="Mmetal"/>
    <property name="Shape" value="ModelEntity"/>
    <property name="Model" value="@:Entities/LootContainers/deskMetalFullPrefab.prefab"/>
    <property name="Path" value="solid"/>
    <property name="ModelOffset" value="0,.5,0"/>
    <property name="MultiBlockDim" value="2,2,1"/>
    <property name="ImposterDontBlock" value="true"/>
    <property name="WaterFlow" value="permitted"/>
    <property name="CustomIcon" value="scholarDeskFap"/>
    <property name="Place" value="TowardsPlacerInverted"/>
    <property name="OnlySimpleRotations" value="true"/>
    <property name="IsTerrainDecoration" value="true"/>
    <property name="StabilitySupport" value="false"/>
    <property name="Weight" value="0"/>
    <property name="EconomicValue" value="1000"/>
    <property name="TraderStageTemplate" value="midTier1"/>
    <property name="MaxDamage" value="800"/>
    <property name="HeatMapStrength" value="0.5"/>
    <property name="HeatMapTime" value="1200"/>
    <property name="HeatMapFrequency" value="25"/>
    <property name="OpenSound" value="open_workbench"/>
    <property name="CloseSound" value="close_workbench"/>
    <property name="TakeDelay" value="5"/>
    <property class="RepairItems">
        <property name="resourceForgedIron" value="25"/>
        <property name="resourceMechanicalParts" value="20"/>
        <property name="resourceDuctTape" value="25"/>
    </property>
    <drop event="Harvest" name="resourceForgedIron" count="5" tag="allHarvest"/>
    <drop event="Harvest" name="resourceForgedIron" count="5" tag="salvageHarvest"/>
    <drop event="Harvest" name="resourceMechanicalParts" count="8" tag="salvageHarvest"/>
    <drop event="Destroy" count="0"/>
    <drop event="Fall" name="terrDestroyedWoodDebris" count="1" prob="0.75" stick_chance="1"/>
    <property name="SortOrder1" value="B281"/>
    <property name="SortOrder2" value="0300"/>
    <property name="Group" value="Basics,Science"/>
    <property name="FilterTags" value="MC_playerBlocks,SC_decor"/>
</block>

The above is appended in my blocks. The scholarDeskFap uses an existing desk model in the game.

 

Quote

<windows>
    
    <append xpath="/windows" >
    
<window name="scholarDeskFap" width="228" height="121" panel="Right" cursor_area="true" >
    <panel style="header.panel">            
        <sprite style="header.icon" sprite="ui_game_symbol_pen"/>
        <label style="header.name" text="TOOLS" text_key="xuiTools" />
    </panel>

        <rect name="content" depth="0" pos="0,-46" height="75" disablefallthrough="true" on_press="true">

        <grid name="inventory" rows="1" cols="1" pos="3,-3" cell_width="75" cell_height="75" controller="WorkstationToolGrid" repeat_content="true" allow_sort_order="false" required_tools="scholarPenFap" required_tools_only="true">
            <required_item_stack name="0"/>
        </grid>        

        
    </rect>
</window>
    
    </append>
    
</windows>

I have this in my windows.xml. Do I need this? 

Any help is appreciated

×
×
  • Create New...