Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spawn liquids when dripping #122

Draft
wants to merge 18 commits into
base: V1.3
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _metadata
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lox_sexbound",
"version": "1.2_h1",
"version": "1.2_r1",
"author": "Erina Sugino",
"description": "^orange;Sexbound Reborn^reset; is the continuation of the old Sexbound API by Locuturus and Co., enabling sexual interactions in Starbound. It was forked from SxB version 5.12.1.\n\n\n\n^red;»^reset; CREDITS:\n\n^orange;Erina Sugino - Developer & Creator^reset;\n^blue;https://ko-fi.com/erinasugino^reset;\n\n^orange;* Locuturus and Co. - Original Author^reset;\n^blue;https://www.loverslab.com/files/file/4337-sexbound/^reset;\n\n^orange;* Sir Bumpleton - Lustbound Creator^reset;\n^blue;https://www.loverslab.com/files/file/14030-lustbound/^reset;\n\n^orange;* Red3dred - Contributor^reset;\n^blue;https://www.patreon.com/user?u=27199103^reset;\n\n^orange;* Rylasasin - Contributor^reset;\n^blue;^reset;\n\n^orange;XspeedPL - Contributor^reset;\n^blue;^reset;\n\n^orange;Hyperjuni - Contributor^reset;\n^blue;^reset;\n\n\n\n^red;IF YOU HAVE THIS MOD FROM STEAM, YOU HAVE AN UNAUTHORIZED STOLEN COPY.^reset;",
"friendlyName": "Sexbound Reborn",
Expand Down
32 changes: 24 additions & 8 deletions artwork/humanoid/twoactors-centered.animation
Original file line number Diff line number Diff line change
Expand Up @@ -868,10 +868,18 @@
"actors": {
"idle_laying": {},
"idle": {},
"position1": {},
"position1-climax": {},
"position1-postclimax": {},
"position1-reset": {},
"position1": {
"properties": {"zLevel": 15}
},
"position1-climax": {
"properties": {"zLevel": 15}
},
"position1-postclimax": {
"properties": {"zLevel": 15}
},
"position1-reset": {
"properties": {"zLevel": 15}
},
"position2": {},
"position2-climax": {},
"position2-postclimax": {},
Expand Down Expand Up @@ -900,10 +908,18 @@
"position4_2-climax": {},
"position4_2-postclimax": {},
"position4_2-reset": {},
"position5": {},
"position5-climax": {},
"position5-postclimax": {},
"position5-reset": {},
"position5": {
"properties": {"zLevel": 15}
},
"position5-climax": {
"properties": {"zLevel": 15}
},
"position5-postclimax": {
"properties": {"zLevel": 15}
},
"position5-reset": {
"properties": {"zLevel": 15}
},
"position6": {},
"position6-climax": {},
"position6-postclimax": {},
Expand Down
32 changes: 24 additions & 8 deletions artwork/humanoid/twoactors.animation
Original file line number Diff line number Diff line change
Expand Up @@ -1193,10 +1193,18 @@
"actors": {
"idle_laying": {},
"idle": {},
"position1": {},
"position1-climax": {},
"position1-postclimax": {},
"position1-reset": {},
"position1": {
"properties": {"zLevel": 15}
},
"position1-climax": {
"properties": {"zLevel": 15}
},
"position1-postclimax": {
"properties": {"zLevel": 15}
},
"position1-reset": {
"properties": {"zLevel": 15}
},
"position2": {},
"position2-climax": {},
"position2-postclimax": {},
Expand Down Expand Up @@ -1225,10 +1233,18 @@
"position4_2-climax": {},
"position4_2-postclimax": {},
"position4_2-reset": {},
"position5": {},
"position5-climax": {},
"position5-postclimax": {},
"position5-reset": {},
"position5": {
"properties": {"zLevel": 15}
},
"position5-climax": {
"properties": {"zLevel": 15}
},
"position5-postclimax": {
"properties": {"zLevel": 15}
},
"position5-reset": {
"properties": {"zLevel": 15}
},
"position6": {},
"position6-climax": {},
"position6-postclimax": {},
Expand Down
4 changes: 4 additions & 0 deletions dialog/sexbound/en/notifications.config
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@
"sterilize": {
"true": "You have been successfully sterilized. Fertilization is now impossible.",
"false": "Your sterilization has been successfully reverted. Be mindful about fertilization."
},
"infertility": {
"true": "You have become infertile. I hope you weren't banking on kids.",
"false": "You are no longer infertile. Careful now, unless you want to be a parent."
}
}
}
40 changes: 39 additions & 1 deletion interface/sexbound/customizer/customizer.config
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,43 @@
"hAnchor" : "left",
"width" : 50,
"value" : "^shadow;1000",
"color" : [255, 255, 255]
},
"infertileLabel" : {
"fontSize": 10,
"type": "label",
"position": [20, 148],
"hAnchor": "left",
"vAnchor": "top",
"width": 210,
"value": "^shadow;You currently ^orange;are not^reset;^shadow; infertile.",
"wrapWidth": 210,
"color": [255, 255, 255]
},
"infertileConfirm": {
"type": "button",
"base": "/interface/sexbound/customizer/smallbutton.png",
"hover": "/interface/sexbound/customizer/smallbutton-hover.png",
"pressed": "/interface/sexbound/customizer/smallbutton-hover.png",
"disabledImage": "/interface/sexbound/customizer/smallbutton-disabled.png",
"pressedOffset": [1,-1],
"caption": "Change",
"fontColor": [255, 255, 255],
"textAlign": "center",
"position": [240, 137]
},
"infertilePriceIcon": {
"type" : "image",
"file" : "/interface/sexbound/customizer/icons/sexbux.png",
"position" : [300, 139]
},
"infertilePrice": {
"type" : "label",
"fontSize" : 8,
"position" : [310, 139],
"hAnchor" : "left",
"width" : 50,
"value" : "^shadow;2000",
"color" : [255, 255, 255]
}
}
Expand Down Expand Up @@ -357,7 +394,8 @@
"subGenderSelector.up",
"subGenderSelector.down",
"subGenderConfirm",
"sterilizeConfirm"
"sterilizeConfirm",
"infertileConfirm"
],

"scripts" : [
Expand Down
30 changes: 27 additions & 3 deletions interface/sexbound/customizer/customizergeneral.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ function Customizer.General:new(parent)
currentSubGender = "None",
currentSubGenderIndex = 1,
subGenderList = {},
sterilized = false
sterilized = false,
infertile = false
}, Customizer.General_mt)
end

Expand All @@ -32,6 +33,11 @@ function Customizer.General:init()
self.sterilized = self._parent.config.sterilized
if self.sterilized == nil then self.sterilized = false end
if self.sterilized then widget.setText("generalTab.sterilizeLabel", "^shadow;You currently ^orange;are^reset;^shadow; sterilized.") end

self.infertile = self._parent.config.infertile
if self.infertile == nil then self.infertile = false end
if self.infertile then widget.setText("generalTab.infertileLabel", "^shadow;You currently ^orange;are^reset;^shadow; infertile.")
else widget.setButtonEnabled("generalTab.infertileConfirm", false) end
end

function Customizer.General:handleMessage(message)
Expand Down Expand Up @@ -126,8 +132,8 @@ end
function Customizer.General:sterilize()
local res = player.consumeCurrency("sexbux", 1000)
if not res then
widget.playSound("/sfx/interface/clickon_error.ogg")
return false
widget.playSound("/sfx/interface/clickon_error.ogg")
return false
end

if self.sterilized then
Expand All @@ -138,4 +144,22 @@ function Customizer.General:sterilize()
world.sendEntityMessage(player.id(), "Sexbound:Status:AddStatus", "sterilized")
end
self.sterilized = not self.sterilized
end

function Customizer.General:makeFertile()
if not self.infertile then
widget.playSound("/sfx/interface/clickon_error.ogg")
return false
end

local res = player.consumeCurrency("sexbux", 2000)
if not res then
widget.playSound("/sfx/interface/clickon_error.ogg")
return false
end

widget.setText("generalTab.infertileLabel", "^shadow;You currently ^orange;are not^reset;^shadow; infertile.")
world.sendEntityMessage(player.id(), "Sexbound:Status:RemoveStatus", "infertile")

self.infertile = false
end
Loading