7DTD A19 Serverseitige Scripts - Server-side scriptsSolarbank - Batterybank - more power

Our server side scripts that do not need to be downloaded. Every player gets all settings directly from the server.
Benutzeravatar
sx_schaddi
Site Admin
Beiträge: 52
Registriert: Dienstag 21. Mai 2019, 11:41

Solarbank - Batterybank - more power

#1

Ungelesener Beitrag von sx_schaddi » Mittwoch 15. Juli 2020, 19:31

Erhöhung der Ausgabe an Strom:

blocks.xml
suchen und ersetzen

Code: Alles auswählen

<block name="solarbank">
	<property name="CreativeMode" value="Player"/>
	<property name="Class" value="SolarPanel"/>
	<property name="Material" value="Mmetal_weak"/>
	<property name="StabilitySupport" value="false"/>
	<property name="Shape" value="ModelEntity"/>
	<property name="Mesh" value="models"/>
	<property name="Path" value="solid"/>
	<property name="Model" value="Entities/Electrical/solar_panelPrefab"/>
	<property name="ModelOffset" value=".5,.5,0"/>
	<property name="DisplayType" value="blockElectricalMulti"/>
	<property name="MultiBlockDim" value="4,1,1"/>
	<property name="Place" value="TowardsPlacerInverted"/>
	<property name="OnlySimpleRotations" value="true"/>
	<property name="ImposterExchange" value="imposterRamp" param1="18"/>
	<property name="DescriptionKey" value="powerSourceDesc"/>
	<property name="OutputPerStack" value="100"/>
	<property name="SlotItem" value="solarCell"/>
	<property name="MaxPower" value="600"/>
	<property name="Group" value="Science"/>
	<property name="ActivationDistance" value="6"/>
	<property class="RepairItems">
	<property name="resourceForgedIron" value="5"/>
	<property name="resourceElectricParts" value="3"/>
	<property name="resourceElectricParts" value="2"/>
	<property name="resourceScrapPolymers" value="2"/>
	</property>
	<drop event="Harvest" name="terrStone" count="0" tool_category="Disassemble"/>
	<drop event="Harvest" name="" count="0" tag="salvageHarvest"/>
	<drop event="Destroy" count="0"/>
	<drop event="Fall" name="scrapMetalPile" count="1" prob="0.75" stick_chance="1"/>
	<property name="Stacknumber" value="1"/>
	<property name="TakeDelay" value="15"/>
	<property name="EconomicValue" value="2000"/>
	<property name="FilterTags" value="fdecor,felectrical"/>
	<property name="SortOrder1" value="70a0"/>
</block>

<block name="batterybank">
	<property name="CreativeMode" value="Player"/>
	<property name="Class" value="BatteryBank"/>
	<property name="Material" value="Mmetal_weak"/>
	<property name="StabilitySupport" value="false"/>
	<property name="Shape" value="ModelEntity"/>
	<property name="Mesh" value="models"/>
	<property name="Path" value="solid"/>
	<property name="Model" value="Entities/Electrical/battery_bankPrefab"/> <property name="HandleFace" value="Bottom"/>
	<property name="ImposterDontBlock" value="true"/>
	<property name="Collide" value="movement,melee,bullet,arrow,rocket"/>
	<property name="DescriptionKey" value="powerSourceDesc"/>
	<property name="UnlockedBy" value="perkAdvancedEngineering,batterybankSchematic"/>
	<property name="MaxPower" value="600"/>
	<property name="InputPerTick" value="5"/>
	<property name="ChargePerInput" value="1"/>
	<property name="OutputPerStack" value="100"/>
	<property name="OutputPerCharge" value="90"/>
	<property name="SlotItem" value="carBattery"/>
	<property name="Group" value="Science"/>
	<property class="RepairItems">
		<property name="resourceForgedIron" value="8"/>
		<property name="resourceElectricParts" value="6"/>
		<property name="resourceElectricParts" value="2"/>
		<property name="resourceScrapPolymers" value="4"/>
	</property>
	<drop event="Harvest" name="resourceScrapIron" count="120" tag="allHarvest"/>
	<drop event="Harvest" name="terrStone" count="0" tool_category="Disassemble"/>
	<drop event="Harvest" name="resourceForgedIron" count="3" tag="salvageHarvest"/>
	<drop event="Harvest" name="resourceElectricParts" count="2,3" tag="salvageHarvest"/>
	<drop event="Harvest" name="resourceElectricParts" count="1,2" prob="0.6" tag="salvageHarvest"/>
	<drop event="Harvest" name="resourceScrapPolymers" count="1,2" tag="salvageHarvest"/>
	<drop event="Destroy" count="0"/>
	<drop event="Fall" name="scrapMetalPile" count="1" prob="0.75" stick_chance="1"/>
	<property name="Stacknumber" value="1"/>
	<property name="TakeDelay" value="15"/>
	<property name="EconomicValue" value="400"/>
	<property name="FilterTags" value="fdecor,felectrical"/>
	<property name="SortOrder1" value="70a0"/>
</block>