Skip to content

Instantly share code, notes, and snippets.

View celediel's full-sized avatar

Lilian Jónsdóttir celediel

View GitHub Profile
# @author : celediel (lilian.jonsdottir@gmail.com)
# @file : qw_to_dv
# @created : Tuesday Dec 06, 2022 12:53:00 Pacific Standard Time
# Qwerty -> Dvorak for Dwarf Fortress
from os import path, sep
from re import sub as resub, Match
from typing import AnyStr, Optional
q_to_d = {
@celediel
celediel / main.lua
Last active October 31, 2020 07:32
Movement and Fatigue Settings Tweaked - MWSE Version
local modName = "Movement and Fatigue Settings Tweaked"
local modAuthor = "nelxxz"
local codeAuthor = "Celediel"
local modConfig = "MAFST"
local modInfo = "This mod tweaks Fatigue (Stamina) settings to make running, walking, " ..
"swimming, jumping and attacking slightly less painful.\n\n" ..
"In sum, your character will still suffer fatigue loss, but only when carrying " ..
"a lot of weight, and especially in low endurance levels. This is compensated " ..
"by increased jumping costs and slightly more draining attacks, based on " ..
"weapon weight. General movement, however, will be faster and overall more " ..
@celediel
celediel / data.lua
Last active October 22, 2020 03:11
Diverse Khajiit MWSE
return {
["adanja"] = {race = "T_Els_Cathay", head = "T_B_Kc_HeadFemale_01", hair = "T_B_Kc_HairFemale_04", shoes = "common_shoes_02"},
["dahnara"] = {race = "T_Els_Ohmes-raht", head = "T_B_Kor_HeadFemale_01", hair = "T_B_Kor_HairFemale_09"},
["s'renji"] = {race = "T_Els_Cathay-raht", head = "T_B_Kcr_HeadMale_04", hair = "T_B_Kcr_HairMale_01"},
["shivani"] = {race = "T_Els_Suthay", head = "T_B_Ks_HeadFemale_01", hair = "T_B_Ks_HairFemale_03", shoes = "common_shoes_04"},
["thengil"] = {race = "T_Els_Ohmes", head = "T_B_Ko_HeadMale_03", hair = "T_B_Ko_HairMale_10", shoes = "common_shoes_04"},
["ahdahni"] = {race = "T_Els_Suthay", head = "T_B_Ks_HeadFemale_04", hair = "T_B_Ks_HairFemale_02", shoes = "common_shoes_03"},
["j'jazha"] = {race = "T_Els_Ohmes-raht", head = "T_B_Kor_HeadMale_03", hair = "T_B_Kor_HairMale_04", shoes = "common_shoes_01"},
["j'dato"] = {race = "T_Els_Cathay-raht", head = "T_B
@celediel
celediel / common.lua
Last active March 9, 2022 01:00
Cannibals of Morrowind - MWSE ver
local common = {}
common.modName = "Cannibals"
common.modInfo = "Based on Updated Cannibals of Morrowind by Danae " ..
"which is in turn based on Cannibals of Morrowind by Morandir Nailo\n\n" ..
"Adds body part ingredients (brains, hearts, flesh, etc.) to " ..
"all NPC's in the game, on death, which restore fatigue and have further " ..
"properties which reflect the race (for instance, Dunmer Flesh can be eaten, " ..
"or used in a potion, to gain fire resistance).\n\n" ..
"In addition, each NPC has a skull, which can be kept as a trophy, or used as " ..
@celediel
celediel / main.lua
Last active March 9, 2022 01:00
Morrowind - No More Friendly Fire
-- mod info variables
local modName = "No More Friendly Fire"
local modConfig = modName:gsub("%s", "")
local modInfo = "Stop friendly fire. Player companions can't damage the player, the player " ..
"can't damage companions, and companions can't damage each other. That's it."
local author = "Celediel"
local version = "1.2.0"
-- config
local defaultConfig = {enable = true, debug = false}
@celediel
celediel / config.lua
Last active August 8, 2020 18:30
Consistent Keys - with meshes and icons
return mwse.loadConfig("ConsistentKeys", {
shashev = false,
changeMesh = true
})
@celediel
celediel / main.lua
Last active March 9, 2022 00:59
My fork of DragonDoor - MWSE Lua mod that makes enemies pursue through doors
-- DragonDoor! Originally written by Archimag https://www.nexusmods.com/morrowind/mods/47169
-- Fork by Celediel https://gist.github.com/celediel/67d6bcd20b1eadbd7fbc8040cad22081
-- {{{ variables and such
local defaultConfig = {
message = false,
help = true,
helpMessage = true,
helpRespondDistance = 3000,
saveOverrideKey = {keyCode = 56}
}
@celediel
celediel / LICENSE
Last active June 13, 2022 22:09
Morrowind Lower First Person Sneak MWSE
MIT License
Copyright (c) 2020 Lilian Jónsdóttir
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
@celediel
celediel / configMenu.lua
Last active March 9, 2022 00:59
Morrowind Containers Animated - quickloot compatibility
local modConfigMenu = {}
local pane
local skipAnimKeyButton
local this = {}
local itemsButtonText = {[0] = 'Skip animation', 'Hide items when animation is playing', 'Transfer items to the player inventory', 'Place items inside the container when they are loaded'}
local tItemsButtonAlign = {[0] = 0.45, 0.605, 0.61, 0.81}
local function RegisterModConfig()
@celediel
celediel / common.lua
Last active October 8, 2020 05:14
Activate With A Click
local this = {}
-- look, I made an enum in lua
this.click = {left = 0, right = 1, middle = 2, four = 3, five = 4, six = 5, seven = 6, eight = 7}
this.modName = "Activate with a Click"
this.author = "Celediel"
this.modInfo =
[[Activate/interact with a click of the mouse, because simply mapping activate to a mouse button doesn't work when activating with objects that are made interactive by an MWSE Lua script.