Skip to content

Commit

Permalink
Initial commit, Alpha 11
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenShell committed Jun 26, 2015
0 parents commit ece724a
Show file tree
Hide file tree
Showing 22 changed files with 932 additions and 0 deletions.
8 changes: 8 additions & 0 deletions About/About.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<ModMetaData>
<name>A2B_Teleport v0.11.0</name>
<author>noone, asarium, FredrikLH, TehJoE, bigmap001, 1000101</author>
<targetVersion>Alpha 11</targetVersion>
<url>http://bit.ly/1EdE0Xc</url>
<description>This is an addition to A2B adding a 'teleporter' and 'receiver' pair.\n\nLoad after A2B.</description>
</ModMetaData>
Binary file added About/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Assemblies/A2B_Teleport.dll
Binary file not shown.
35 changes: 35 additions & 0 deletions Defs/A2BTeleportDataDefs/A2BResearchDefs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!--
This was changed from being hard-coded in pre v0.11.0.0 to
being defined in defs to allow modders to more easily integrate
A2B into modpiles and users to tweak settings to their own
tastes.
DO NOT CHANGE "defName"!
Hints:
Base - How much without research
Offset - Added to base after research is complete
Research - All listed research must be complete
-->
<A2BTeleportDataDef>

<defName>A2BTeleport</defName>

<!-- Watts per cell teleported -->
<TeleporterWattsPerCellBase>50</TeleporterWattsPerCellBase>
<TeleporterWattsPerCellOffset>-25</TeleporterWattsPerCellOffset>

<!-- Degrees celcius per cell teleported -->
<TeleporterDegreesPerCellBase>0.45</TeleporterDegreesPerCellBase>
<TeleporterDegreesPerCellOffset>-0.225</TeleporterDegreesPerCellOffset>

<TeleporterResearch>
<li>A2B_TeleporterHeat</li>
</TeleporterResearch>

</A2BTeleportDataDef>

</Defs>
15 changes: 15 additions & 0 deletions Defs/DesignationCategoryDefs/A2B_DesignationCategories.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<DesignationCategoryDef>
<DefName>ConveyorOptions</DefName>
<label>A2B Options</label>
<description>Additional conveyor belt components.</description>
<order>215</order>
<specialDesignatorClasses>
<li>Designator_Cancel</li>
<li>Designator_Deconstruct</li>
</specialDesignatorClasses>
</DesignationCategoryDef>

</Defs>
14 changes: 14 additions & 0 deletions Defs/ResearchProjectDefs/Research.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<ResearchProjectDef>
<defName>A2B_TeleporterHeat</defName>
<label>[A2B] Teleporter Efficiency</label>
<description>An improved, highly efficient teleporter design reduces the heat generated and power used when teleporting items. No more flash fires!</description>
<totalCost>1000</totalCost>
<prerequisites>
<li>A2B2</li>
</prerequisites>
</ResearchProjectDef>

</Defs>
119 changes: 119 additions & 0 deletions Defs/ThingDefs/Building_A2B_Teleporter.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>

<ThingDef Name="BuildingBase" Abstract="True">
<category>Building</category>

<soundImpactDefault>BulletImpactSteel</soundImpactDefault>

<selectable>true</selectable>
<rotatable>true</rotatable>

<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<constructEffect>ConstructMetal</constructEffect>
<repairEffect>Repair</repairEffect>
<holdsRoof>false</holdsRoof>
<blockLight>false</blockLight>
<leaveResourcesWhenKilled>true</leaveResourcesWhenKilled>
<filthLeaving>BuildingRubble</filthLeaving>

<altitudeLayer>Waist</altitudeLayer>
<passability>PassThroughOnly</passability>
<pathCost>1000</pathCost>

<drawerType>MapMeshAndRealTime</drawerType>
<castEdgeShadows>true</castEdgeShadows>
<fillPercent>1</fillPercent>
<staticSunShadowHeight>0.34</staticSunShadowHeight>

<tickerType>Normal</tickerType>

<designationCategory>ConveyorOptions</designationCategory>
<researchPrerequisite>A2B2</researchPrerequisite>
</ThingDef>

<ThingDef ParentName="BuildingBase">
<defName>A2BTeleporter</defName>
<label>teleporter</label>
<thingClass>Building</thingClass>
<graphicData>
<texPath>Things/Building/Teleporter</texPath>
<drawSize>(2,1)</drawSize>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<WorkToMake>1000</WorkToMake>
<MaxHitPoints>300</MaxHitPoints>
<Flammability>1.0</Flammability>
<Beauty>0</Beauty>
</statBases>
<description>Teleports items in a straight line. Requires a receiver to function!</description>
<comps>
<li>
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>100</basePowerConsumption>
<soundPowerOn>PowerOnSmall</soundPowerOn>
<soundPowerOff>PowerOffSmall</soundPowerOff>
<transmitsPower>true</transmitsPower>
<startElectricalFires>true</startElectricalFires>
</li>
<li>
<compClass>CompGlower</compClass>
<glowRadius>3</glowRadius>
<glowColor>(255,58,0,0)</glowColor>
</li>
<li>
<compClass>A2B_Teleport.BeltTeleporterComponent</compClass>
</li>
</comps>
<size>(2,1)</size>
<costList>
<Steel>100</Steel>
<Plasteel>50</Plasteel>
</costList>
<designationHotkey>T</designationHotkey>
</ThingDef>

<ThingDef ParentName="BuildingBase">
<defName>A2BReceiver</defName>
<label>receiver</label>
<thingClass>Building</thingClass>
<graphicData>
<texPath>Things/Building/Receiver</texPath>
<drawSize>(2,1)</drawSize>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<statBases>
<WorkToMake>800</WorkToMake>
<MaxHitPoints>300</MaxHitPoints>
<Flammability>1.0</Flammability>
<Beauty>0</Beauty>
</statBases>
<description>Receives items from a teleporter. Needs to be built with identical orientation!</description>
<comps>
<li>
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>100</basePowerConsumption>
<soundPowerOn>PowerOnSmall</soundPowerOn>
<soundPowerOff>PowerOffSmall</soundPowerOff>
<transmitsPower>true</transmitsPower>
<startElectricalFires>true</startElectricalFires>
</li>
<li>
<compClass>CompGlower</compClass>
<glowRadius>2</glowRadius>
<glowColor>(0,230,0,0)</glowColor>
</li>
<li>
<compClass>A2B_Teleport.BeltTeleporterComponent</compClass>
</li>
</comps>
<size>(2,1)</size>
<costList>
<Steel>100</Steel>
<Plasteel>50</Plasteel>
</costList>
<designationHotkey>R</designationHotkey>
</ThingDef>

</Defs>
183 changes: 183 additions & 0 deletions Source/A2B/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
build/
bld/
[Bb]in/
[Oo]bj/

# Roslyn cache directories
*.ide/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

#NUNIT
*.VisualState.xml
TestResult.xml

# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc

# Chutzpah Test files
_Chutzpah*

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile

# Visual Studio profiler
*.psess
*.vsp
*.vspx

# TFS 2012 Local Workspace
$tf/

# Guidance Automation Toolkit
*.gpState

# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user

# JustCode is a .NET coding addin-in
.JustCode

# TeamCity is a build add-in
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# NCrunch
_NCrunch_*
.*crunch*.local.xml

# MightyMoose
*.mm.*
AutoTest.Net/

# Web workbench (sass)
.sass-cache/

# Installshield output folder
[Ee]xpress/

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish/

# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj

# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# If using the old MSBuild-Integrated Package Restore, uncomment this:
#!**/packages/repositories.config

# Windows Azure Build Output
csx/
*.build.csdef

# Windows Store app package directory
AppPackages/

# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.pfx
*.publishsettings
node_modules/

# RIA/Silverlight projects
Generated_Code/

# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# SQL Server files
*.mdf
*.ldf

# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings

# Microsoft Fakes
FakesAssemblies/
Loading

0 comments on commit ece724a

Please sign in to comment.