Skip to content

Instantly share code, notes, and snippets.

View boformer's full-sized avatar

boformer boformer

  • Ruhr-Universität Bochum
  • Bochum, Germany
View GitHub Profile
@boformer
boformer / gist:76df26e8f94c57eeb14c
Last active February 5, 2017 00:28
Common banned words
bannedWords:
- Fuck
- Bastard
- Penis
- Piss
- Asshole
- assshole
- shit
- bitch
- ass
@boformer
boformer / TeleportRequest.java
Last active August 29, 2015 14:14
Creating a Request class
package example.request;
import java.util.Arrays;
import java.util.List;
import org.spongepowered.api.entity.player.Player;
import org.spongepowered.api.text.message.Message;
import org.spongepowered.api.text.message.Messages;
import com.github.boformer.doublecheck.api.AbstractRequest;
EuroBuildingsUnlocker - BeginLoading: level 'BuildingManager.UpdateData'
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebug.gen.cpp Line: 56)
EuroBuildingsUnlocker - Environment is 'North'
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebug.gen.cpp Line: 56)
EuroBuildingsUnlocker - EndLoading
@boformer
boformer / BuildingThemes.xml
Last active August 29, 2015 14:23
Extend builtin themes - remove buildings from built in themes - or create new building themes
<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Themes>
<Theme name="European">
<Buildings>
<Building include="false" name="H1_3x2_Blockhouse01" />
<Building include="false" name="H2_3x2_Blockhouse01" />
<Building include="false" name="H3_3x2_Blockhouse01" />
<Building include="false" name="H4_3x2_Blockhouse01" />
<Building include="false" name="H5_3x2_Blockhouse01" />
@boformer
boformer / Mod.cs
Last active August 29, 2015 14:23
Building Theme mod
using BuildingThemes;
using ICities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ColossalFramework;
namespace UKTerracedBuildingTheme
@boformer
boformer / BuildingDetoursHolder.cs
Last active August 29, 2015 14:23
LargerFootprints
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace LargerFootprints
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace LargerFootprints
{
using ColossalFramework;
using ColossalFramework.Threading;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using ColossalFramework;
using ColossalFramework.Threading;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading;
using UnityEngine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using UnityEngine;
namespace LargerFootprints.Detour
{
public class BuildingAIDetour