Skip to content

Instantly share code, notes, and snippets.

@RogueYun
RogueYun / conwin.xml
Created January 31, 2020 04:14
Consider Window for Aardwolf
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on Friday, August 14, 2009, 6:13 AM -->
<!-- MuClient version 4.93 -->
<!-- Plugin "Consider_Window" generated by Plugin Wizard -->
<!-- Updates Made by Strazor on September 6, 2014
1) Updated sPat variable to correctly escape in LUA and capture "-" and "." in mob names
2) Updated some of the triggers to regular expressions
3) Triggers should now capture Auras of Mobs in Minwin. This is not perfect but works.
import os
path_assets = r"C:\Users\virtue\Desktop\Project\Python\PixelPrinterMod\assets"
path_mod = r"C:\Users\virtue\Desktop\Project\Python\PixelPrinterMod\mod\ModName"
for root, dirs, files in os.walk(path_assets, topdown = False):
for name in files:
print(os.path.join(root, name))
if not name.endswith(".png"):
New to the game of Don't Starve Together? Keep joining servers and no one is willing to help you? Not having much fun being a ghost on day one? This guide is for you!
How to read this guide? Read this guide however you please! Be aware that this guide is intended to be helpful and not derogatory. Many of the things recommended are things you might have already known/done and if that is the case just skim it or skip it entirely. If you feel you are being criticized for your play style try to take the criticisms as constructive and have an open mind.
CONSIDER PLAYING ALONE
-------------------------------------
Host a game and set the number of players to 1. By playing alone you will be able to learn fun ways to die without the public humiliation of being dead on day one.
CONSIDER PLAYING ENDLESS MODE
--------------------------------------------------
[
{
"type" : "item_group",
"id" : "workout_food",
"items":[
["protein_powder", 15],
["sports_drink", 20],
["water_clean", 90]
]
},{
@RogueYun
RogueYun / tools.py
Created January 13, 2016 17:36
The basic randm generator functions I use
from random import randint
from random import choice
#Die Roll
def d(num, sides):
result = 0
for x in range(num):
result += randint(1, sides)
return result
@RogueYun
RogueYun / NPC_gen_outline.txt
Created January 13, 2016 17:34
Just the outline of stuff I was thinking on.
NPC Generator
Gender
Male
Female
Race
Races
Sub-races
Race Bonuses
Class
@RogueYun
RogueYun / lottery.py
Last active January 13, 2016 09:10
lottery drawing program
#lottery
from random import randint
#I'm trying to come up with a simple/moddable random generator for categories that might be appended.
#The numbers are the amount of arbitrary "lottery tickets" owned by said person/object.
#I now need to create a system to draw the winning lottery ticket and determine the winner...
#pretend this dictionary could be added to and drawn from again later like... lottery["Sam"] = 4
lottery = {"Bob":10, "Ted":5, "Mike":1}
@RogueYun
RogueYun / character.py
Created January 11, 2016 21:43
Help wanted to fix my poor coding.
class Character(object):
def __init__(self):
self.name = "none"
self.race = "none"
self.occ = "none"
#This doesn't seem to work... refer to lower #-tags
def fc_name(self, name="none"):
if name == "none":
self.name = raw_input("What is your name?\n\n>>: ")
@RogueYun
RogueYun / water_cart.json
Created November 27, 2015 00:09
Water Cart for Football field. Any Suggestions?
,{
"type" : "vehicle",
"id" : "water_cart",
"name" : "Water Cart",
"blueprint" : "o",
"parts" : [
{"x": 0, "y": 0, "part": "xlframe_vertical_2"},
{"x": 0, "y": 0, "part": "wheel_caster"},
{"x": 0, "y": 0, "part": "water_tank_little"},
{"x": 0, "y": 0, "part": "water_faucet"},
@RogueYun
RogueYun / compilelog.txt
Created November 25, 2015 16:42
Compile Log Errors for CDDA
||=== Build: Release in Cataclysm (compiler: GNU GCC Compiler) ===|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp||In member function 'long int item::get_remaining_capacity_for_liquid(const item&) const':|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4310|error: 'L_ERR_NONE' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp||In member function 'item::LIQUID_FILL_ERROR item::has_valid_capacity_for_liquid(const item&) const':|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4354|error: 'L_ERR_NOT_CONTAINER' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4358|error: 'L_ERR_FULL' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4362|error: 'L_ERR_NO_MIX' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|4367|error: 'L_ERR_NOT_CONTAINER' was not declared in this scope|
C:\Users\username\Desktop\Git\Cataclysm-DDA\src\item.cpp|