Skip to content

CoreFeatures

SphereII edited this page Sep 18, 2024 · 1 revision

Core Features

0-SCore contains many scripts and harmony patches to complete its objections.

 

Many such features are turned off by default, as the purpose of the 0-SCore is a general purpose mod that allows modders to customize it.

 

Most features are configured via the 0-SCore/Config/blocks.xml

 

Here is a small snippet: 

 

<block name="ConfigFeatureBlock">

    <property name="Extends" value="terrDesertGround"/>

    <!-- snip -->

    <property class="AdvancedPlayerFeatures" >

        <property name="Logging" value="true"/>

 

        <!-- Player cannot jump and place a block under neath them-->

        <property name="AntiNerdPole" value="false" />

 

        <!-- Allow you to fit through one block spaces -->

        <property name="OneBlockCrouch" value="false" />

 

        <!-- Damages the player if they hit something with their bare hands. -->

        <property name="SoftHands" value="false" />

        

        <!-- Disables the player from picking up a vehicle and putting it in their pocket. -->

        <property name="VehicleNoTake" value="false" />

    </property>

    <!-- snip -->

</block>

 

In the above snippet, there's some features specifically for the player. Turning the feature from false to true will enable it. 

 

Other features are more complex, and will take more time to sort out, such as Food Spoilage and Crafting From Containers.

 

The 0-SCore's Config/blocks.xml is not meant to be editted by the player or modder directly. Doing so will make it more difficult to update the 0-SCore version, as your changes will

be over-written. Simply re-using a modify blocks.xml could cause other problems, as new features are added.

 

Instead, use another modlet to modify the blocks. It's important that this modlet loads after 0-SCore.

 

<configs>

    <set xpath="/blocks/block[@name='ConfigFeatureBlock']/property[@class='AdvancedPlayerFeatures']/property[@name='OneBlockCrouch']/@value">true</set>

</configs>

 


Created with the Personal Edition of HelpNDoc: Single source CHM, PDF, DOC and HTML Help creation

0-SCore

Table of contents

Clone this wiki locally